How do I start a process from C#?

后端 未结 12 2046
北荒
北荒 2020-11-22 03:38

How do I start a process, such as launching a URL when the user clicks a button?

12条回答
  •  自闭症患者
    2020-11-22 04:13

    You can use the System.Diagnostics.Process.Start method to start a process. You can even pass a URL as a string and it'll kick off the default browser.

提交回复
热议问题