March 2002
Intermediate to advanced
864 pages
31h 8m
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 method NetworkCredential(); public method NetworkCredential(string userName, string password); public method NetworkCredential(string userName, string password, string domain); // Public Instance Properties public field string Domain{set; get; } public field string Password{set; get; } public field string UserName{set; get; } // Public Instance Methods public method NetworkCredential GetCredential(Uri uri, // implements ICredentials string authType); }
CredentialCache.GetCredential(), ICredentials.GetCredential()
CredentialCache.Add()