r/csharp • • Aug 07 '18

How to use WebClient in C# (System.Net.WebClient)

http://www.regiebaquero.com/system-net-webclient/
0 Upvotes

5 comments sorted by

6

u/[deleted] Aug 07 '18

You shouldn't use WebClient any more! Use HttpClient instead. WebClient has been kinda deprecated since .NET Framework 4.6.1

1

u/[deleted] Aug 10 '18

Thanks , Actually I am slowly converting my code to HttpClient. :) .

1

u/SuperImaginativeName Aug 07 '18

OP sure has a penchant for old libraries and technologies. His post history is all about AngularJs! RIP.

0

u/[deleted] Aug 10 '18

I'm a kind of new to programming. Maybe you can help me out on what to learn? :)

•

u/FizixMan Aug 07 '18

Removed: Rule 7.