QuickOPC User's Guide and Reference
GetCredentialByHost Method (NetworkCredential2)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Net Namespace > NetworkCredential2 Class : GetCredentialByHost Method
Syntax
'Declaration
 
Public Function GetCredentialByHost( _
   ByVal host As String, _
   ByVal port As Integer, _
   ByVal authenticationType As String _
) As NetworkCredential2
'Usage
 
Dim instance As NetworkCredential2
Dim host As String
Dim port As Integer
Dim authenticationType As String
Dim value As NetworkCredential2
 
value = instance.GetCredentialByHost(host, port, authenticationType)
public NetworkCredential2 GetCredentialByHost( 
   string host,
   int port,
   string authenticationType
)

Parameters

host
port
authenticationType
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