namespace System.Diagnostics;
Process ieProc = Process.Start("IExplore.exe", "www.baidu.com");
Console.WriteLine("-->Hit Enter to kill {0}", ieProc.ProcessName);
Console.ReadLine();
try
{
ieProc.Kill();
}
catch{}
namespace System.Diagnostics;
Process ieProc = Process.Start("IExplore.exe", "www.baidu.com");
Console.WriteLine("-->Hit Enter to kill {0}", ieProc.ProcessName);
Console.ReadLine();
try
{
ieProc.Kill();
}
catch{}
相关文章: