Exemplo n.º 1
0
        public static string ReadRememberPassword()
        {
            string encPassword = GlobalTool.ReadRegKeyValue("lastuser", "password");

            if (encPassword == null)
            {
                return(null);
            }
            else
            {
                return(NetCryptoHelper.DecryptDes(encPassword, NetCryptoHelper.DesKey, NetCryptoHelper.DesIv));
            }
        }
Exemplo n.º 2
0
 public static string ReadRememberName()
 {
     return(GlobalTool.ReadRegKeyValue("lastuser", "name"));
 }