using System.Net; using (WebClient web1 = new WebClient()) string data = web1.DownloadString("URL"); Console.WriteLine(data); }