Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

WebClient in Core

$
0
0

Hi,

What is the equivalent WebClient in Core? Error is "the type of namespace name WebClient could not be found"

using (WebClient client = new WebClient())
{    string html = client.DownloadString("https://forums.asp.net");    //Do something with html then
}

Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>