C# Класс nHydrate.Generator.Common.Util.HTTPHelper

Показать файл Открыть проект

Открытые методы

Метод Описание
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