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.
GetPlatformInfo
Description:
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.
Syntax:
HRESULT GetPlatformInfo(AppInfo** info)
Parameters:
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).
Return value:
-
S_OK - successful completion.