This method unregisters a plug-in, removing its CLSID from the HotDocs registry. Unregistering a plug-in prevents HotDocs from loading the plug-in during startup.
void Unregister ( string CLSID )
| Parameters | Description |
| CLSID | This is the CLSID of the plug-in class to unregister. |
The following Visual C# example unregisters a plug-in:
[ComUnregisterFunction]
public static void UnRegisterPlugin(Type t)
{
HotDocs.Application app = new HotDocs.Application();
app.Plugins.Unregister("{12345678-1111-2222-AAAA-DDDDDDDDDDDD}");
System.Runtime.InteropServices.Marshal.ReleaseComObject(app);
}