August 2003
Intermediate to advanced
928 pages
32h 1m
English
NetworkCredential
This class is an
implementation of
ICredentials for authentication schemes that use
passwords, such as basic and digest authentication, NTLM, and
Kerberos. See CredentialCache for more details.
public class NetworkCredential : ICredentials { // Public Constructors public NetworkCredential( ); public NetworkCredential(stringuserName, stringpassword); public NetworkCredential(stringuserName, stringpassword, stringdomain); // Public Instance Properties public string Domain{set; get; } public string Password{set; get; } public string UserName{set; get; } // Public Instance Methods public NetworkCredential GetCredential(Uriuri, stringauthType) // implements ICredentials }
CredentialCache.GetCredential( ),
ICredentials.GetCredential( )
CredentialCache.Add( )