C# Class RandomOps.HtmlDownload

Methods for downloading a web-page from the internet.
Afficher le fichier Open project: DanWBR/dwsim3

Méthodes publiques

Méthode 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 méthode

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.
Résultat System.IO.StreamReader

HtmlToString() public static méthode

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