C# 클래스 Channel9Downloader.DataAccess.WebDownloader

상속: IWebDownloader
파일 보기 프로젝트 열기: MadCowDevelopment/Channel9Downloader 1 사용 예제들

공개 메소드들

메소드 설명
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 ( Uri address, string filename ) : void

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.

비공개 메소드들

메소드 설명
FromHtml ( TextReader reader ) : System.Xml.Linq.XDocument

Returns an XDocument from TextReader that contains HTML.

RaiseDownloadFileCompleted ( AsyncCompletedEventArgs e ) : void

Raises the DownloadFileCompleted event.

RaiseDownloadProgressChanged ( DownloadProgressChangedEventArgs e ) : void

Raises the DownloadProgressChanged event.

메소드 상세

CancelAsync() 공개 메소드

Cancels a pending asynchronous operation.
public CancelAsync ( ) : void
리턴 void

DownloadData() 공개 메소드

Downloads the resource with the specified URI to a local file.
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.
리턴 void

DownloadFileAsync() 공개 메소드

Downloads a file asynchronously.
public DownloadFileAsync ( Uri address, string filename ) : void
address System.Uri The address of the resource to download.
filename string The name of the local file that is to receive the data.
리턴 void

DownloadString() 공개 메소드

Downloads the requested resource as a String. The resource to download is specified as a String containing the URI.
public DownloadString ( string address ) : string
address string The address of the resource to download.
리턴 string

DownloadXHTML() 공개 메소드

Downloads the requested resource as XHTML. The resource to download is specified as a String containing the URI.
public DownloadXHTML ( string address ) : System.Xml.Linq.XDocument
address string The address of the resource to download.
리턴 System.Xml.Linq.XDocument

WebDownloader() 공개 메소드

Initializes a new instance of the WebDownloader class.
public WebDownloader ( ) : System
리턴 System