| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- //
- // System.Net.NetworkCredential.cs
- //
- // Author: Duncan Mak ([email protected])
- //
- // (C) Ximian, Inc.
- //
- namespace System.Net
- {
- public class NetworkCredential : ICredentials
- {
- // Fields
- string userName;
- string password;
- string domain;
-
- // Constructors
- public NetworkCredential ()
- : base ()
- {
- }
- public NetworkCredential (string userName, string password)
- {
- this.userName = userName;
- this.password = password;
- }
- public NetworkCredential (string userName, string password, string domain)
- {
- this.userName = userName;
- this.password = password;
- this.domain = domain;
- }
- // Properties
- public string Domain
- {
- get { return domain; }
- set { domain = value; }
- }
- public string UserName
- {
- get { return userName; }
- set { userName = value; }
- }
- public string Password
- {
- get { return password; }
- set { password = value; }
- }
- [MonoTODO]
- public NetworkCredential GetCredential (Uri uri, string authType)
- {
- return null;
- }
- }
- }
|