Returns a System.Net.NetworkCredential object that is associated with a Uniform Resource Identifier (URI) and authentication type.
[Edit]
Parameters
- uri
- A Uri representing the URI for which the client is providing authentication.
[Edit]
- authType
- A string containing the type of authentication. This value is required to be identical to the IAuthenticationModule.AuthenticationType of the authentication module that uses the credential returned by this method.
[Edit]
Returns
A System.Net.NetworkCredential associated with the specified URI and authentication
type, or null if the credentials cannot be provided.
[Edit]
Remarks
Requirements
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0