Beispiel #1
0
        public static void SetConnectionStringLan(string s)
        {
            string ns = NetCryptoHelper.EncryptDes(s, NetCryptoHelper.DesKey, NetCryptoHelper.DesIv);

            WriteRegKeyValue("db", "server_lan", ns);
        }
Beispiel #2
0
        public static void WriteRememberPassword(string password)
        {
            string encPassword = NetCryptoHelper.EncryptDes(password, NetCryptoHelper.DesKey, NetCryptoHelper.DesIv);

            GlobalTool.WriteRegKeyValue("lastuser", "password", encPassword);
        }