.NET Framework Reading GET response as string using System.Net.WebClient


Example

string requestUri = "http://www.example.com";
string responseData;

using (var client = new WebClient())
{    
    responseData = client.DownloadString(requestUri);
}