Click or drag to resize

WebScraperFetchUrlContents Method

A handy shortcut method that fetches the text content from any Url (synchronously).

Namespace:  IronWebScraper
Assembly:  IronWebScraper (in IronWebScraper.dll) Version: 4.0.4.25470 (4.0.4.3)
Syntax
public static string FetchUrlContents(
	string url,
	HttpIdentity identity = null
)

Parameters

url
Type: SystemString
The absolute URL.
identity (Optional)
Type: IronWebScraperHttpIdentity
OPtional HTTP identity to choose a proxy, user agent, headers, username and password for the request.

Return Value

Type: String
See Also