QuickOPC User's Guide and Reference
CustomNetworkCredential Property (_NetworkSecurity)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security.ComTypes Namespace > _NetworkSecurity Interface : CustomNetworkCredential Property
Determines whether a client identity specified by NetworkCredential will be used to impersonate the client.
Syntax
'Declaration
 
Property CustomNetworkCredential As Boolean
'Usage
 
Dim instance As _NetworkSecurity
Dim value As Boolean
 
instance.CustomNetworkCredential = value
 
value = instance.CustomNetworkCredential
bool CustomNetworkCredential {get; set;}
property bool CustomNetworkCredential {
   bool get();
   void set (    bool value);
}
Remarks
If this property is set to false, the current user's identity will be used.
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