Esempio n. 1
0
 /// <summary>
 /// Constructor to instantiate a Credentials object with the specified values and msn protocol speaking.
 /// </summary>
 public Credentials(string account, string password, string clientID, string clientCode, MsnProtocol msnp)
     : this(account, password, msnp)
 {
     clientInfo.ProductID  = clientID;
     clientInfo.ProductKey = clientCode;
 }
Esempio n. 2
0
 public Credentials(string account, string password, MsnProtocol msnp)
 {
     this.account    = account;
     this.password   = password;
     this.clientInfo = (ClientInfo)DefaultCredentials[msnp].Clone();
 }
Esempio n. 3
0
 public Credentials(MsnProtocol msnp)
     : this(string.Empty, string.Empty, msnp)
 {
 }
Esempio n. 4
0
 /// <summary>
 /// Constructor to instantiate a Credentials object with the specified values and msn protocol speaking.
 /// </summary>
 public Credentials(string account, string password, string clientID, string clientCode, MsnProtocol msnp)
     : this(account, password, msnp)
 {
     clientInfo.ProductID = clientID;
     clientInfo.ProductKey = clientCode;
 }
Esempio n. 5
0
 public Credentials(string account, string password, MsnProtocol msnp)
 {
     this.account = account;
     this.password = password;
     this.clientInfo = (ClientInfo)DefaultCredentials[msnp].Clone();
 }
Esempio n. 6
0
 public Credentials(MsnProtocol msnp)
     : this(string.Empty, string.Empty, msnp)
 {
 }