The easiest way is to use a class WebClient
that simplifies most of the common uses of HttpWebRequest.
Example in C #:
string page;
using (WebClient client = new WebClient()) {
page = client.DownloadString("http://www.guffa.com");
}
Guffa
a source
to share