ICredentialsByHost.GetCredential Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns the credential for the specified host, port, and authentication protocol.
Assembly: System.Net (in System.Net.dll)
'Declaration Function GetCredential ( _ host As String, _ port As Integer, _ authenticationType As String _ ) As NetworkCredential
Parameters
- host
- Type: System.String
The host computer that is authenticating the client.
- port
- Type: System.Int32
The port on host that the client will communicate with.
- authenticationType
- Type: System.String
The authentication protocol.
Show: