R
R
RMate2020-01-23 15:33:58
C++ / C#
RMate, 2020-01-23 15:33:58

Where can I get APP_ID?

Hello!
I'm trying to make a rest-only application for the marketplace according to this documentation:
https://dev.1c-bitrix.ru/learning/cour....9279.9281
I created an application, but I don't see a word about APP_ID and APP_SECRET there. Where can I get them?
there is not a word about them in the arriving ONAPPINSTALL event either.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mikhail, 2019-04-21
@MiMitin

class AutoRun
    {

        const string name = "MyTestApplication";
        public static bool SetAutorunValue(bool autorun)
        {

            string ExePath = System.Reflection.Assembly.GetExecutingAssembly().Location;
            RegistryKey reg;
            reg = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Run\\",true); // мы не создаем, а открываем и указываем что будем записывать
            try
            {
                if (autorun)
                    reg.SetValue(name, ExePath);
                else
                    reg.DeleteValue(name);

                reg.Close();
            }
            catch
            {
                return false;
            }
            return true;
        }
    }

A
Alams Stoyne, 2020-01-23
@alams_stoyne

B24 -> Applications -> My applications -> Add application
After saving, the Application Code (APP_ID) and Application Key (APP_SECRET) will appear
Read here or

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question