Reading GET response as string using System.Net.WebClient

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

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

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents