Hello everybody
How to kill a process knowing the name?
Actually, i know a method
foreach(Process p in System.Diagnostic.Process.GetProcesses())
{
if(p.Processname=="processname_i_know_and_i_want_to_kill";
{
p.Kill()
}
this method, if repeated uses a lot of cpu.
does exist a better method?