public CredentialsManager(string pi_propertyname, string pi_contractnumber, string pi_install, int pi_propertyid) { m_Encryptor = KeyValidate.getKeyValidator("TR_TP", pi_propertyname, pi_contractnumber, pi_install); if (m_Encryptor == null) { throw(new Exception("Either the Install Key, Property Name, or Contract Number is wrong...")); } else { m_IniFileName = m_Utils.AppPath + "ENC_FILE.ini"; this.loadProps(); UserSecurityInfo info = this.getServiceConnectionInfo(); this.m_TPUserID = info.LogName; this.m_TPPassword = info.Password; } }