namespace System.Diagnostics;
1Process ieProc = Process.Start("IExplore.exe", "www.baidu.com");
2Console.WriteLine("-->Hit Enter to kill {0}", ieProc.ProcessName);3Console.ReadLine();4try
5{6 ieProc.Kill();7}8catch{}
ferd song
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3