QuickOPC User's Guide and Reference
GetCredential Method (_NetworkCredential2)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Net.ComTypes Namespace > _NetworkCredential2 Interface : GetCredential Method
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
authType
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