示例#1
0
        public MitaniLicense()
        {
            MitaniEncrypt encrypt = new MitaniEncrypt();

            TextKey = encrypt.GetLicense().Trim(); // Get Key from Text file
            Expire  = encrypt.Expire;              // expire
            encrypt.GenerateKey();
            OriginKey = encrypt.EncryptKey;
            //Path = encrypt.current_path;
        }
示例#2
0
        public MitaniLicense(Dictionary <string, string> info) : base(info)
        {
            MitaniEncrypt encrypt = new MitaniEncrypt();

            userInfo = encrypt.GetLicense();
            foreach (var s in userInfo)
            {
                if (s.Key == "KEY")
                {
                    Key = s.Value;
                }
            }
        }