public static string GetConnectStringsLanConfig() { string raw = ReadRegKeyValue("db", "server_lan"); if (raw == null) { return(null); } return(NetCryptoHelper.DecryptDes(raw, NetCryptoHelper.DesKey, NetCryptoHelper.DesIv)); }
public static string ReadRememberPassword() { string encPassword = GlobalTool.ReadRegKeyValue("lastuser", "password"); if (encPassword == null) { return(null); } else { return(NetCryptoHelper.DecryptDes(encPassword, NetCryptoHelper.DesKey, NetCryptoHelper.DesIv)); } }