Use the WebRequest class found in the System.Net namespace.
//create the request object
WebRequest req = WebRequest.Create(@'http://www.syncfusion.com');
//get the response and use the response
WebResponse resp = req.GetResponse();
Stream stream = resp.GetResponseStream();
StreamReader sr = new StreamReader(stream);
string s = sr.ReadToEnd();
textBox1.Text = s;
Share with