CredentialCache.GetCredential Method (Uri, String)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns a NetworkCredential instance associated with the specified Uniform Resource Identifier (URI) and authentication type.
Assembly: System.Net (in System.Net.dll)
Parameters
- uriPrefix
- Type: System.Uri
A Uri that specifies the URI prefix of the resources that the credential grants access to.
- authType
- Type: System.String
The authentication scheme used by the resource named in uriPrefix.
Implements
ICredentials.GetCredential(Uri, String)
Show: