The WebClientExtensions type exposes the following members.

Methods

  Name Description
Public method Static member DownloadStringUsingResponseEncoding(WebClient, String)
Same as DownloadString(String) except it correctly use the character set indicated in the response to decode the string. Otherwise it uses Encoding.
Public method Static member DownloadStringUsingResponseEncoding(WebClient, Uri)
Same as DownloadString(Uri) except it correctly use the character set indicated in the response to decode the string. Otherwise it uses Encoding.
Public method Static member GetResponseContentType
Gets the values of the HTTP Content-Type response header as an instance of the ContentType object.

See Also