OPC Studio User's Guide and Reference
GetCredential(String,String) Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Net Namespace > NetworkCredential2 Class > GetCredential Method : GetCredential(String,String) Method

The value of this parameter can be null (Nothing in Visual Basic).

The value of this parameter can be null (Nothing in Visual Basic).

Syntax
'Declaration
 
Public Overloads Function GetCredential( _
   ByVal uriString As String, _
   ByVal authType As String _
) As NetworkCredential2
'Usage
 
Dim instance As NetworkCredential2
Dim uriString As String
Dim authType As String
Dim value As NetworkCredential2
 
value = instance.GetCredential(uriString, authType)

Parameters

uriString

The value of this parameter can be null (Nothing in Visual Basic).

authType

The value of this parameter can be null (Nothing in Visual Basic).

Return Value

This method can return null (Nothing in Visual Basic).

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