Click or drag to resize

WebResponseFactoryReadResponseText Method (HttpWebResponse, Encoding)

Note: This API is now obsolete.

Reads an HttpWebResponse as plain text.

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

Parameters

webResponse
Type: System.NetHttpWebResponse
The HttpWebResponse to read.
encoding
Type: System.TextEncoding
The encoding used.

Return Value

Type: String
A String that represents the text of an HttpWebResponse.
Remarks
Deprecated; please use GetResponseText(HttpWebResponse, Encoding) instead.
See Also