Process[] ps = Process.GetProcesses();
foreach (Process item in ps)
{
if (item.ProcessName=="进程名称")
{
item.Kill();
}
}
文章由爱资料原创本文地址:https://www.apizl.com/archives/view-880-1.html,转载请以链接形式标明本文地址!
foreach (Process item in ps)
{
if (item.ProcessName=="进程名称")
{
item.Kill();
}
}
关键字词: