OPC Studio User's Guide and Reference
NetworkSecurity Constructor(Boolean)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security Namespace > NetworkSecurity Class > NetworkSecurity Constructor : NetworkSecurity Constructor(Boolean)
Determines whether a custom client identity specified by will be used to impersonate the client.
Initializes a new instance of the class, specifying whether customer network credential will be used.
Syntax
'Declaration
 
Public Function New( _
   ByVal customNetworkCredential As Boolean _
)
'Usage
 
Dim customNetworkCredential As Boolean
 
Dim instance As New NetworkSecurity(customNetworkCredential)
public NetworkSecurity( 
   bool customNetworkCredential
)
public:
NetworkSecurity( 
   bool customNetworkCredential
)

Parameters

customNetworkCredential
Determines whether a custom client identity specified by will be used to impersonate the client.
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