C# Class Dev2.Helpers.Dev2WebClient

Inheritance: IDev2WebClient
Afficher le fichier Open project: Warewolf-ESB/Warewolf

Méthodes publiques

Méthode Description
CancelAsync ( ) : void
Dev2WebClient ( WebClient webClient ) : System
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

DownloadFileAsync ( Uri address, string fileName, string userToken ) : void
DownloadString ( string address ) : string

Private Methods

Méthode Description
_webClient_DownloadDataCompleted ( object sender, DownloadDataCompletedEventArgs e ) : void

Method Details

CancelAsync() public méthode

public CancelAsync ( ) : void
Résultat void

Dev2WebClient() public méthode

public Dev2WebClient ( WebClient webClient ) : System
webClient System.Net.WebClient
Résultat System

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

DownloadFileAsync() public méthode

public DownloadFileAsync ( Uri address, string fileName, string userToken ) : void
address System.Uri
fileName string
userToken string
Résultat void

DownloadString() public méthode

public DownloadString ( string address ) : string
address string
Résultat string