OPC Studio User's Guide and Reference
NetworkCredential2 Constructor(NetworkCredential)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Net Namespace > NetworkCredential2 Class > NetworkCredential2 Constructor : NetworkCredential2 Constructor(NetworkCredential)
Network credential to be copied from.
Syntax
'Declaration
 
Public Function New( _
   ByVal networkCredential As NetworkCredential _
)
'Usage
 
Dim networkCredential As NetworkCredential
 
Dim instance As New NetworkCredential2(networkCredential)
public NetworkCredential2( 
   NetworkCredential networkCredential
)
public:
NetworkCredential2( 
   NetworkCredential^ networkCredential
)

Parameters

networkCredential
Network credential to be copied from.
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