System.Net.Webclient not working 'WebClient' could not be found

后端 未结 1 909
闹比i
闹比i 2021-01-18 05:29

I am trying to work with WebClient but it is giving me errors so I check in several forums (included this one) and they where telling to put

In the top of the file:

1条回答
  •  礼貌的吻别
    2021-01-18 06:13

    Given your tags, it sounds like you may be building a Windows Store app - in which case you need to use HttpClient instead of WebClient.

    0 讨论(0)
提交回复
热议问题