Méthode | Description | |
---|---|---|
CancelAsync ( ) : void |
Cancels a pending asynchronous operation.
|
|
DownloadData ( string address, string filename ) : void |
Downloads the resource with the specified URI to a local file.
|
|
DownloadFileAsync ( |
Downloads a file asynchronously.
|
|
DownloadString ( string address ) : string |
Downloads the requested resource as a String. The resource to download is specified as a String containing the URI.
|
|
DownloadXHTML ( string address ) : System.Xml.Linq.XDocument |
Downloads the requested resource as XHTML. The resource to download is specified as a String containing the URI.
|
|
WebDownloader ( ) : System |
Initializes a new instance of the WebDownloader class.
|
Méthode | Description | |
---|---|---|
FromHtml ( |
Returns an XDocument from TextReader that contains HTML.
|
|
RaiseDownloadFileCompleted ( |
Raises the DownloadFileCompleted event.
|
|
RaiseDownloadProgressChanged ( |
Raises the DownloadProgressChanged event.
|
public DownloadData ( string address, string filename ) : void | ||
address | string | The URI from which to download data. |
filename | string | The name of the local file that is to receive the data. |
Résultat | void |
public DownloadFileAsync ( |
||
address | The address of the resource to download. | |
filename | string | The name of the local file that is to receive the data. |
Résultat | void |
public DownloadString ( string address ) : string | ||
address | string | The address of the resource to download. |
Résultat | string |
public DownloadXHTML ( string address ) : System.Xml.Linq.XDocument | ||
address | string | The address of the resource to download. |
Résultat | System.Xml.Linq.XDocument |