private bool UserValidate() { try { if (OVRSimpleEncryption.Decrypt(strUserPassword) == txPwd.Text) { return(true); } } catch (System.Exception ex) { } return(true); }
private string PasswordProcessing(string strConnectionString, bool bEncrypt) { string strNewConnectionString = null; string strPassword = null, strTemp = null; int iSta, iEnd; iSta = strConnectionString.IndexOf("Password="******"Password="******"Password=" + strTemp); } return(strNewConnectionString); }