mscorlib(4.0.0.0) API with additions
System.Net.ICredentials Interface Reference

Provides the base authentication interface for retrieving credentials for Web client authentication. More...

Inheritance diagram for System.Net.ICredentials:
[legend]

Public Member Functions

NetworkCredential GetCredential (Uri uri, string authType)
 Returns a T:System.Net.NetworkCredential object that is associated with the specified URI, and authentication type. More...
 

Detailed Description

Provides the base authentication interface for retrieving credentials for Web client authentication.

Definition at line 5 of file ICredentials.cs.

Member Function Documentation

◆ GetCredential()

NetworkCredential System.Net.ICredentials.GetCredential ( Uri  uri,
string  authType 
)

Returns a T:System.Net.NetworkCredential object that is associated with the specified URI, and authentication type.

Parameters
uriThe T:System.Uri that the client is providing authentication for.
authTypeThe type of authentication, as defined in the P:System.Net.IAuthenticationModule.AuthenticationType property.
Returns
The T:System.Net.NetworkCredential that is associated with the specified URI and authentication type, or, if no credentials are available, null.

Implemented in System.Net.CredentialCache, and System.Net.NetworkCredential.


The documentation for this interface was generated from the following file: