📅  最后修改于: 2022-03-11 14:49:14.352000             🧑  作者: Mango
System.Diagnostics.Process process = new System.Diagnostics.Process();
try
{
process.StartInfo.UseShellExecute = true;
process.StartInfo.FileName = pathToHtmlFile;
process.Start();
}
catch (Exception e)
{
Console.WriteLine(e.Message);
}