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