You are here: Plugin API > Library Reference > IHost Interface
IHost Interface
The IHost interface represents the host application. An instance of IHost is be passed in as a parameter to the Initialize() method in the IPlugin interface.
Methods
- string GetCompany() – Returns the name of the company.
- IEditorContext GetEditorContext() – Returns the active IEditorContext object.
- string GetName() – Returns the name of the active application.
- INavContext GetNavContext() – Returns the active INavContext object.
- void Dispose() – Cleans up the instance of IHost after usage. This must be called whenever the plugin is disabled.