OPC Studio User's Guide and Reference
NetworkCredential2 Constructor



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Net Namespace > NetworkCredential2 Class : NetworkCredential2 Constructor
Initializes a new instance of the class.
Overload List
OverloadDescription
Initializes an instance of the NetworkCredential2 class with default data.  
Initializes a new copy of the NetworkCredential2 object.  
Initializes an instance of the NetworkCredential2 class from the System.Net.NetworkCredential object.  

Initializes a new instance of the NetworkCredential2 class with name and password set as specified.

 

Initializes a new instance of the NetworkCredential2 class with name and password set as specified.

 

Initializes a new instance of the NetworkCredential2 class with name and password set as specified.

 

Initializes a new instance of the NetworkCredential2 class with name and password set as specified.

 
Initializes a new instance of the class with serialized data.  
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