HDAPluginNet4 Assembly > HDAPlugin Namespace > AppPlugin Class : 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.
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