C# 클래스 nHydrate.Generator.Common.Util.HTTPHelper

파일 보기 프로젝트 열기: nHydrate/nHydrate

공개 메소드들

메소드 설명
Download ( string url, string localFile ) : bool

Given a file URL, this method will download it and save it as the specified local file name

Download ( string url ) : string

Given a file URL, this method will download it and return the load disk file

보호된 메소드들

메소드 설명
OnProgress ( ProgressEventArgs e ) : void

비공개 메소드들

메소드 설명
UpdateProgress ( System.Int64 BytesRead, System.Int64 TotalBytes ) : void

메소드 상세

Download() 공개 메소드

Given a file URL, this method will download it and save it as the specified local file name
public Download ( string url, string localFile ) : bool
url string A URL of a file to download
localFile string The local filename to use when saving the file locally
리턴 bool

Download() 공개 메소드

Given a file URL, this method will download it and return the load disk file
public Download ( string url ) : string
url string A URL of a file to download
리턴 string

OnProgress() 보호된 메소드

protected OnProgress ( ProgressEventArgs e ) : void
e nHydrate.Generator.Common.EventArgs.ProgressEventArgs
리턴 void