NetworkCredential

NetworkCredential CF 1.0, ECMA 1.0

System.Net (system.dll) class

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  (string   userName   , string   password   );    public  NetworkCredential  (string   userName   , string   password   , string   domain   );  // Public Instance Properties  public string  Domain  {set; get; }    public string  Password  {set; get; }    public string  UserName  {set; get; }  // Public Instance Methods  public NetworkCredential  GetCredential  (Uri   uri   , string   authType   )  // implements ICredentials  } 

Returned By

CredentialCache.GetCredential( ) , ICredentials.GetCredential( )

Passed To

CredentialCache.Add( )



C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net