How does one pass command line argument to a ClickOnce application?

前端 未结 4 1313
南方客
南方客 2020-12-08 21:15

I have a Clickonce application that is launched from the start menu (local). I would like to be able to specify a parameter so that the application can load certain data. Th

4条回答
  •  醉梦人生
    2020-12-08 21:23

    You pass the parameters as a query string and use HttpUtility.ParseQueryString, as discussed in this MSDN article.

提交回复
热议问题