C# Class RandomOps.HtmlDownload

Methods for downloading a web-page from the internet.
Mostra file Open project: DanWBR/dwsim3

Public Methods

Method Description
HtmlToStream ( string url ) : StreamReader

Download webpage from given url-address to a StreamReader object.

HtmlToString ( string url ) : string

Download webpage from given url-address to a string.

Method Details

HtmlToStream() public static method

Download webpage from given url-address to a StreamReader object.
public static HtmlToStream ( string url ) : StreamReader
url string Internet address of web-page to download.
return System.IO.StreamReader

HtmlToString() public static method

Download webpage from given url-address to a string.
public static HtmlToString ( string url ) : string
url string Internet address of web-page to download.
return string