C# Class OpenRA.Download

Show file Open project: pchote/OpenRA Class Usage Examples

Public Methods

Method Description
CancelAsync ( ) : void
Download ( string url, Action onProgress, Action onComplete ) : System
Download ( string url, string path, Action onProgress, Action onComplete ) : System
FormatErrorMessage ( Exception e ) : string

Private Methods

Method Description
DisposeWebClient ( ) : void

Method Details

CancelAsync() public method

public CancelAsync ( ) : void
return void

Download() public method

public Download ( string url, Action onProgress, Action onComplete ) : System
url string
onProgress Action
onComplete Action
return System

Download() public method

public Download ( string url, string path, Action onProgress, Action onComplete ) : System
url string
path string
onProgress Action
onComplete Action
return System

FormatErrorMessage() public static method

public static FormatErrorMessage ( Exception e ) : string
e System.Exception
return string