Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在默认 Web 浏览器中启动一个 URL,然后在“x”时间后将其关闭。
要打开它,我正在使用 Process.Start(url) 但无法弄清楚如何关闭它。
建议?
我想你已经有了Process.Kill()迎合这个的方法。
Process.Kill()