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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Net.ComTypes Namespace > _NetworkCredential2 Interface : GetCredential 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
 
<CanBeNullAttribute()>
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)
[CanBeNull()]
NetworkCredential2 GetCredential( 
   string uriString,
   string authType
)
[CanBeNull()]
NetworkCredential2^ GetCredential( 
   String^ uriString,
   String^ 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).

Remarks

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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