c# get url html code example
Example: c# get url html
using System.Net;
using (WebClient web1 = new WebClient())
string data = web1.DownloadString("URL");
Console.WriteLine(data);
}
using System.Net;
using (WebClient web1 = new WebClient())
string data = web1.DownloadString("URL");
Console.WriteLine(data);
}