Click or drag to resize

WebResponseFactoryGetEncoding Method

Note: This API is now obsolete.

Gets the encoding used by an HttpWebResponse.

Namespace:  NScrape
Assembly:  NScrape (in NScrape.dll) Version: 0.4.1.0
Syntax
[ObsoleteAttribute("Please use NScrapeExtensions.GetEncoding( HttpWebResponse ) instead.")]
public static Encoding GetEncoding(
	HttpWebResponse webResponse
)

Parameters

webResponse
Type: System.NetHttpWebResponse
The HttpWebResponse for which to determine the content type.

Return Value

Type: Encoding
The content type used by the HttpWebResponse.
Remarks
Deprecated; please use GetEncoding(HttpWebResponse) instead.
See Also