using System.Net; public string getCode(string url) { string htmlCode; using (WebClient client = new WebClient()) { htmlCode = client.DownloadString(url); } return htmlCode; }
using System.Net; public string getCode(string url) { string htmlCode; using (WebClient client = new WebClient()) { htmlCode = client.DownloadString(url); } return htmlCode; }