I_HDAPluginNet4 Assembly > I_HDAPlugin Namespace > IAppPlugin Interface : GetServerRegistryDef Method |
This method is called from the generic server at startup for normal operation or for registration. It provides server registry information for this application required for DCOM registration.
Each server needs to have unique registration definions. Unique CLSIDs can be generated with the Visual Studio GuidGen utility.
The sample implementation initializes default values and tries to read the configuration definitions from the file HDANSrv.exe.config. The config file reads can be deleted to prevent the definition from being changed without a recompilation.
'Usage Dim instance As IAppPlugin Dim value As SrvRegDef value = instance.GetServerRegistryDef()
SrvRegDef GetServerRegistryDef()
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2