QuickOPC User's Guide and Reference
UseCustomSecurity Property (_ComSecurityParameters)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Runtime.InteropServices.ComTypes Namespace > _ComSecurityParameters Interface : UseCustomSecurity Property
Indicates that custom security settings should be used for COM object access.
Syntax
'Declaration
 
Property UseCustomSecurity As Boolean
'Usage
 
Dim instance As _ComSecurityParameters
Dim value As Boolean
 
instance.UseCustomSecurity = value
 
value = instance.UseCustomSecurity
bool UseCustomSecurity {get; set;}
property bool UseCustomSecurity {
   bool get();
   void set (    bool value);
}
Remarks

When true, the COM security settings of the application are controlled by the application itself, and are not influenced by the settings specified in DCOM Configuration. Unless specified otherwise, access is allowed to everyone, authentication level is set to Connect and the impersonation level is set to Impersonate.

This property is used by following client implementations:

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also