日期:2014-05-20  浏览次数:20985 次

如何用代码杀进程,高手请进!。。。。。
如何用代码杀进程,高手请进!。。。。。请问如何用   C#实现杀进程,代码怎么写?谢谢!

------解决方案--------------------
Process[] vProcesses = Process.GetProcessesByName( "iexplore ");
foreach (Process vProcess in vProcesses)
vProcess.CloseMainWindow();

------解决方案--------------------

Process[] vProcesses = Process.GetProcessesByName( "iexplore ");
foreach (Process vProcess in vProcesses)
vProcess.CloseMainWindow();
-------------------------------
vProcess.kill();