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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security Namespace > NetworkSecurity Class : CustomNetworkCredential Property
Determines whether a client identity specified by NetworkCredential will be used to impersonate the client.
Syntax
'Declaration
 
<DataMemberAttribute()>
<DefaultValueAttribute(True)>
Public Property CustomNetworkCredential As Boolean
'Usage
 
Dim instance As NetworkSecurity
Dim value As Boolean
 
instance.CustomNetworkCredential = value
 
value = instance.CustomNetworkCredential
[DataMember()]
[DefaultValue(true)]
public bool CustomNetworkCredential {get; set;}
[DataMember()]
[DefaultValue(true)]
public:
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