NetworkCredential.GetCredential Method (Uri, String)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns an instance of the NetworkCredential class for the specified Uniform Resource Identifier (URI) and authentication type.
Assembly: System.Net (in System.Net.dll)
Parameters
- uri
- Type: System.Uri
The Uri that the client provides authentication for.
- authType
- Type: System.String
A string that specifies the type of authentication requested.
Implements
ICredentials.GetCredential(Uri, String)The GetCredential method always returns a reference to itself, regardless of the input parameters passed to this method.
The authType parameter is not currently used.
Show: