예제 #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;
 }
예제 #2
0
 public Credentials(string account, string password, MsnProtocol msnp)
 {
     this.account    = account;
     this.password   = password;
     this.clientInfo = (ClientInfo)DefaultCredentials[msnp].Clone();
 }
예제 #3
0
 public Credentials(MsnProtocol msnp)
     : this(string.Empty, string.Empty, msnp)
 {
 }
예제 #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;
 }
예제 #5
0
 public Credentials(string account, string password, MsnProtocol msnp)
 {
     this.account = account;
     this.password = password;
     this.clientInfo = (ClientInfo)DefaultCredentials[msnp].Clone();
 }
예제 #6
0
 public Credentials(MsnProtocol msnp)
     : this(string.Empty, string.Empty, msnp)
 {
 }