HttpClient.DownloadResponse

Return an HttpWebResponse object for a request. You can use the Response to read the result as needed. This is a low level method. Most of the other 'Get' methods call this method and process the results further.

public HttpWebResponse DownloadResponse(string url)

Parameters

url
Url to retrieve.

Remarks

Important: The Response object's Close() method must be called when you are done with the object.

Overloads