OPC Labs Base Library
GetCredentialByHost Method
OpcLabs_BaseLib ActiveX DLL > NetworkCredential2 Object : GetCredentialByHost Method

Description
Returns the credential for the specified host, port, and authentication protocol.

 

DISPID (Dispatch ID):

 

For more information, see GetCredentialByHost in .NET Reference.

Syntax
Visual Basic
Public Function GetCredentialByHost( _
   ByVal host As String, _
   ByVal port As Long, _
   ByVal authenticationType As String _
) As NetworkCredential2
Parameters
host

port

authenticationType

Return Type

See GetCredentialByHost in .NET Reference.

Remarks

For remarks, see GetCredentialByHost in .NET Reference.

Example

For examples, see GetCredentialByHost in .NET Reference.

See Also

NetworkCredential2 Object  | NetworkCredential2 Members