/// <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; }
public Credentials(string account, string password, MsnProtocol msnp) { this.account = account; this.password = password; this.clientInfo = (ClientInfo)DefaultCredentials[msnp].Clone(); }
public Credentials(MsnProtocol msnp) : this(string.Empty, string.Empty, msnp) { }