1

I got a little problem by using the WebClient class in System.Net Everything I got is the reference to System.Net, which is working. But I cannot find any WebClient class.

Can somebody help me or has the same problem?

Nikita R.
  • 6,687
  • 2
  • 49
  • 59
Gabriel
  • 179
  • 1
  • 10

1 Answers1

0

VS Code on OS X uses .NET core, which does not support WebClient. You would need to use HttpClient.

See Need help deciding between HttpClient and WebClient for details.

Nikita R.
  • 6,687
  • 2
  • 49
  • 59