WebScraper.FetchUrlContentsBinary Method

IronWebScraper

WebScraperFetchUrlContentsBinary Method

A handy shortcut method that fetches the text content from any Url (synchronously) as a binary data in a byye array (byte[])

Namespace:  IronWebScraper
Assembly:  IronWebScraper (in IronWebScraper.dll) Version: 4.0.4.25470 (4.0.4.3)
Syntax
public byte[] FetchUrlContentsBinary(
	string url,
	HttpIdentity identity = null
)
Public Function FetchUrlContentsBinary ( 
	url As String,
	Optional identity As HttpIdentity = Nothing
) As Byte()

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: Byte
See Also