IronWebScraper - The C# Web Scraping Library
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)

public static string FetchUrlContents( string url, HttpIdentity identity = null )
Public Shared Function FetchUrlContents ( url As String, Optional identity As HttpIdentity = Nothing ) As String
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