C# Class CASCExplorer.SyncDownloader

ファイルを表示 Open project: WoW-Tools/CASCExplorer Class Usage Examples

Public Methods

Method Description
DownloadFile ( string url, string path ) : void
GetMetaData ( string url, string file ) : CacheMetaData
OpenFile ( string url ) : MemoryStream
SyncDownloader ( BackgroundWorkerEx progressReporter ) : System.IO

Private Methods

Method Description
CopyToStream ( Stream src, Stream dst, long len ) : void

Method Details

DownloadFile() public method

public DownloadFile ( string url, string path ) : void
url string
path string
return void

GetMetaData() public method

public GetMetaData ( string url, string file ) : CacheMetaData
url string
file string
return CacheMetaData

OpenFile() public method

public OpenFile ( string url ) : MemoryStream
url string
return System.IO.MemoryStream

SyncDownloader() public method

public SyncDownloader ( BackgroundWorkerEx progressReporter ) : System.IO
progressReporter BackgroundWorkerEx
return System.IO