To get information about the application that attached to the add-in, you can use the standard COM interface IPlatformInfo, which is inherited from IUnknown.
Requests platform info. If the add-in is attached to 1C:Enterprise version earlier than 8.3.3 using a web client, only the Application field of the AppInfo structure is filled.
HRESULT GetPlatformInfo(AppInfo** info)
Type: AppInfo**- pointer to a structure with the following fields:
- AppVersion. Type: BSTR, application version.
Application. Type: enumeration, type of application that attached the add-in.
UserAgentInformation. Type: BSTR, browser info (for the web client only).
S_OK - successful completion.