Пример #1
0
        public static string GetSoftDue()
        {   //HrejADlG4nA= NoDue
            //9TrZBvE7GbI= HasDue
            string dueFlg = "9TrZBvE7GbI";

            dueFlg = RegisterClass.GetItemValue("NicholasLeo");
            if (dueFlg != null)
            {
                dueFlg = NicholasEncrypt.DecryptUTF8String(dueFlg, GetSystemInfo.EncrytionKey);
            }
            return(dueFlg);
        }
Пример #2
0
        public static int GetLoginTimes()
        {
            string times = "0";

            try
            {
                times = RegisterClass.GetItemValue("Nicholas");
                if (times != null)
                {
                    times = NicholasEncrypt.DecryptUTF8String(times, GetSystemInfo.EncrytionKey);
                }
            }
            catch (Exception ex)
            {
                return(Convert.ToInt32(times));
            }
            return(Convert.ToInt32(times));
        }
Пример #3
0
        public static string GetSoftRegFlg()
        {
            string fl = "U3OtiHLdjoM=";

            try
            {
                fl = RegisterClass.GetItemValue("Leo");
                if (fl == null || string.IsNullOrEmpty(fl))
                {
                    fl = "U3OtiHLdjoM=";
                }
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message);
            }

            return(NicholasEncrypt.DecryptUTF8String(fl, GetSystemInfo.EncrytionKey));
        }