How do I start a process from C#?

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

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

12条回答
  •  -上瘾入骨i
    2020-11-22 04:08

    I used the following in my own program.

    Process.Start("http://www.google.com/etc/etc/test.txt")
    

    It's a bit basic, but it does the job for me.

提交回复
热议问题