Kill A Process [C#] - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: Visual Basic and the .NET Framework (https://www.supportforums.net/forumdisplay.php?fid=19) +---- Thread: Kill A Process [C#] (/showthread.php?tid=11232) Pages:
1
2
|
Kill A Process [C#] - wchar_t - 08-13-2010 Code: { this could be usefull code. to reduce cpu usage to kill useless process. anti virus. etc. usefull RE: Kill A Process [C#] - Fragma - 08-13-2010 Thanks for sharing. Useful bit of code. RE: Kill A Process [C#] - -BoodyE- - 08-14-2010 Thanks again mate. RE: Kill A Process [C#] - XACTLYSIN - 08-14-2010 Thank you for sharing this, that is a useful code. I needed it badly, so this helped me alot! RE: Kill A Process [C#] - Michaelmhmhmh - 08-29-2010 Does this kill it for ever or just for until you shut off your computer? RE: Kill A Process [C#] - Marda - 08-29-2010 it only kills it until you shut ur comp of but if you turn just that code into a program then add a code to make run on start up could work? correct me if I'm wrong RE: Kill A Process [C#] - Michaelmhmhmh - 08-29-2010 (08-29-2010, 07:20 AM)Marda Wrote: it only kills it until you shut ur comp of but if you turn just that code into a program then add a code to make run on start up could work? correct me if I'm wrong So it would mainly used for anti viruses which say u cant do this correct? RE: Kill A Process [C#] - Marda - 08-29-2010 yer practically Felt like i should out something more RE: Kill A Process [C#] - flAmingw0rm - 09-05-2010 Thanks a lot, this could be useful for many things. RE: Kill A Process [C#] - xHtmlPhP - 09-05-2010 I use this quite a bit, although you should trim your code down a bit; it's got a couple of useless lines in it (People won't understand what your Function.WriteTo method is) Also the random { at the start ;) Code: Process[] processes = Process.GetProcessesByName(TextBox1.Text); |