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