1 2 3 4 5 6 7 8 9 10 11
//using System.Diagnostics; Process[] pp = Process.GetProcessesByName("ttermpro"); foreach (Process p in pp) { p.CloseMainWindow();// Normales ende //p.Kill(); sofort beenden }
Process[] pp =new Process[10];