Getting platform info

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).

Return value:

  • S_OK - successful completion.

Next page: External events

Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.