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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security Namespace > NetworkSecurity Class > NetworkSecurity Constructor : NetworkSecurity Constructor(String,String)
The user name associated with this credential.
The password for the user name.
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)
public NetworkSecurity( 
   string userName,
   string password
)
public:
NetworkSecurity( 
   String^ userName,
   String^ password
)

Parameters

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