var htmlStream = new MemoryStream(); var writer = new StreamWriter(htmlStream); writer.Write(htmlString); writer.Flush(); htmlStream.Position = 0; return htmlStream; Process process = Process.Start(psi); process.EnableRaisingEvents = true; try { process.Start(); process.BeginErrorReadLine()...