08-13-2010, 07:40 AM
Code:
{
Process[] processes = Process.GetProcessesByName(TextBox1.Text);
foreach (Process process in processes)
{
process.Kill();
}
Function.WriteTo(chan, "Killed Process " + TextBox1.Text + ".exe" + " !");
}
this could be usefull code. to reduce cpu usage to kill useless process.
anti virus.
etc.
usefull