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



View with Navigation Tools
OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security Namespace > NetworkSecurity Class > NetworkSecurity Constructor : NetworkSecurity Constructor(String,String)
The username associated with this credential.
The password for the username.
Initializes a new instance of the class.
Syntax
'Declaration
 
Public Function New( _
   ByVal userName As String, _
   ByVal password As String _
)
 
'Usage
 
Dim userName As String
Dim password As String
 
Dim instance As New NetworkSecurity(userName, password)

Parameters

userName
The username associated with this credential.
password
The password for the username.
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