用C#打开IE

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{}

 

原文地址:https://www.cnblogs.com/muyoushui/p/1775390.html