Ejemplo n.º 1
0
        internal static bool CheckEnvironment()
        {
            Task <bool> checking = CheckVersion();

            checking.Wait();
            if (!checking.Result)
            {
                MessageBox.Show(Encoding.UTF8.GetString(Convert.FromBase64String("VGhlIHZlcnNpb24gaXMgcmV2b2tlZA=="))
                                + "\n" + Encoding.UTF8.GetString(Convert.FromBase64String("UGxlYXNlIGRvd25sb2FkIHRoZSBuZXcgdmVyc2lvbiBmcm9tIHNreW1wLmlv")),
                                Encoding.UTF8.GetString(Convert.FromBase64String("SXMgbm90IGEgYnVn")), MessageBoxButton.OK, MessageBoxImage.Warning);
                return(false);
            }

            UID = Hashing.GetMD5FromText(SystemFunctions.GetHWID());
            AesEncoder.Init();
#if (DEBUG)
#elif (BETA)
            if (!CheckInjection())
            {
                return(false);
            }
#else
            if (!CheckInjection())
            {
                return(false);
            }
#endif
            return(true);
        }
Ejemplo n.º 2
0
        internal static bool CheckEnvironment()
        {
            UID = Hashing.GetMD5FromText(SystemFunctions.GetHWID());
            AesEncoder.Init();
#if (DEBUG)
#elif (BETA)
            if (!CheckInjection())
            {
                return(false);
            }
#else
            if (!CheckInjection())
            {
                return(false);
            }
#endif
            return(true);
        }