Exemplo n.º 1
0
 /// <summary>
 /// Sets the EO PDf license
 /// </summary>
 private static void SetLicense()
 {
     if (!IsLicensed)
     {
         Runtime.AddLicense(Resources.EO_PDF_LICENSE);
         IsLicensed = true;
     }
 }
Exemplo n.º 2
0
 public Render()
 {
     Runtime.AddLicense(ConfigurationManager.AppSettings["PDFLicense"]);
 }
Exemplo n.º 3
0
        static Snapshot()
        {
            Runtime.AddLicense(WebConfigurationManager.AppSettings["eo-license"]);

            EO.Base.Runtime.EnableEOWP = true;
        }
Exemplo n.º 4
0
        public MainWindow()
        {
            Class7.RIuqtBYzWxthF();
            this.InitializeComponent();
            Global.MAIN_WINDOW = this;
            this.MenusFrame.Navigate(Global.ViewDashboard);
            this.lvMenu.SelectedIndex    = 0;
            this.txtTotalTasks.Text      = "Total tasks: " + Global.SETTINGS.TASKS.Count;
            this.txtTotalProfiles.Text   = "Total profiles: " + Global.SETTINGS.PROFILES.Count;
            this.txtTotalProxyLists.Text = "Total proxy lists: " + Global.SETTINGS.PROXIES.Count;
            int num2 = 0;

            foreach (ProxyListObject obj4 in Global.SETTINGS.PROXIES)
            {
                num2 += obj4.Proxies.Count;
            }
            this.txtTotalProxies.Text = "Total proxies: " + num2;
            EveAIO.Helpers.Notify("logon", Global.VERSION + " | " + Global.IP + "|" + Global.TmpKey);
            if (!Directory.Exists("checkouts"))
            {
                Directory.CreateDirectory("checkouts");
            }
            if (!Directory.Exists("Cache"))
            {
                Directory.CreateDirectory("Cache");
            }
            this._versionTimer          = new DispatcherTimer();
            this._versionTimer.Interval = new TimeSpan(0, 0, 10);
            this._versionTimer.Tick    += new EventHandler(this._versionTimer_Tick);
            this._versionTimer.Start();
            this._licenseTimer          = new DispatcherTimer();
            this._licenseTimer.Interval = new TimeSpan(0, 4, 0);
            this._licenseTimer.Tick    += new EventHandler(this._licenseTimer_Tick);
            this._licenseTimer.Start();
            Global.SERIAL64 = Convert.ToBase64String(Encoding.UTF8.GetBytes(Global.SERIAL));
            ServicePointManager.SecurityProtocol        = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls | SecurityProtocolType.Ssl3;
            ServicePointManager.DefaultConnectionLimit  = 0x1388;
            ServicePointManager.MaxServicePointIdleTime = 0x1388;
            ServicePointManager.MaxServicePoints        = 0x3e8;
            Type       type   = Global.ASM.GetType("SvcHost.SvcHost");
            MethodInfo method = type.GetMethod("Efkf3kfo_");
            object     obj2   = Activator.CreateInstance(type);

            Runtime.AddLicense((string)method.Invoke(obj2, null));
            Type       type2 = Global.ASM.GetType("SvcHost.SvcHost");
            MethodInfo info2 = type2.GetMethod("JeokfEp3");
            object     obj3  = Activator.CreateInstance(type2);

            WebsitesInfo.SUPPORTED_PLATFORMS  = (List <KeyValuePair <string, string> >)info2.Invoke(obj3, null);
            Global.CAPTCHA_SOLVER1            = new CaptchaSolverWindow("window1");
            Global.CAPTCHA_SOLVER1.Visibility = Visibility.Hidden;
            Global.CAPTCHA_SOLVER1.Show();
            Global.CAPTCHA_SOLVER1.Hide();
            Global.CAPTCHA_SOLVER2            = new CaptchaSolverWindow("window2");
            Global.CAPTCHA_SOLVER2.Visibility = Visibility.Hidden;
            Global.CAPTCHA_SOLVER2.Show();
            Global.CAPTCHA_SOLVER2.Hide();
            Global.CAPTCHA_SOLVER3            = new CaptchaSolverWindow("window3");
            Global.CAPTCHA_SOLVER3.Visibility = Visibility.Hidden;
            Global.CAPTCHA_SOLVER3.Show();
            Global.CAPTCHA_SOLVER3.Hide();
            Global.CAPTCHA_SOLVER4            = new CaptchaSolverWindow("window4");
            Global.CAPTCHA_SOLVER4.Visibility = Visibility.Hidden;
            Global.CAPTCHA_SOLVER4.Show();
            Global.CAPTCHA_SOLVER4.Hide();
            Global.CAPTCHA_SOLVER5            = new CaptchaSolverWindow("window5");
            Global.CAPTCHA_SOLVER5.Visibility = Visibility.Hidden;
            Global.CAPTCHA_SOLVER5.Show();
            Global.CAPTCHA_SOLVER5.Hide();
            Global.SENSOR = new Sensor();
            if (!Global.AsmLoaded)
            {
                List <KeyValuePair <string, string> > list = new List <KeyValuePair <string, string> >();
                foreach (KeyValuePair <string, string> pair in WebsitesInfo.SUPPORTED_PLATFORMS)
                {
                    list.Add(new KeyValuePair <string, string>("", pair.Value));
                }
                WebsitesInfo.SUPPORTED_PLATFORMS = list;
            }
        }