C# Class AdvancedLauncher.Tools.WebClientEx

Inheritance: System.Net.WebClient
Afficher le fichier Open project: GoldRenard/DMOAdvancedLauncher Class Usage Examples

Méthodes publiques

Méthode Description
CreateHTTPRequest ( Uri url, int timeOut = null ) : WebRequest
DownloadContent ( ILogManager logManager, string url, int timeOut = null ) : string
DownloadContent ( ILogManager logManager, string url, int tryAttempts, int timeOut ) : string
DownloadContent ( string url, int timeOut = null ) : string
DownloadContent ( string url, int tryAttempts, int timeOut ) : string
WebClientEx ( ) : System
WebClientEx ( int timeout ) : System

Méthodes protégées

Méthode Description
GetWebRequest ( Uri address ) : WebRequest

Method Details

CreateHTTPRequest() public static méthode

public static CreateHTTPRequest ( Uri url, int timeOut = null ) : WebRequest
url System.Uri
timeOut int
Résultat System.Net.WebRequest

DownloadContent() public static méthode

public static DownloadContent ( ILogManager logManager, string url, int timeOut = null ) : string
logManager ILogManager
url string
timeOut int
Résultat string

DownloadContent() public static méthode

public static DownloadContent ( ILogManager logManager, string url, int tryAttempts, int timeOut ) : string
logManager ILogManager
url string
tryAttempts int
timeOut int
Résultat string

DownloadContent() public static méthode

public static DownloadContent ( string url, int timeOut = null ) : string
url string
timeOut int
Résultat string

DownloadContent() public static méthode

public static DownloadContent ( string url, int tryAttempts, int timeOut ) : string
url string
tryAttempts int
timeOut int
Résultat string

GetWebRequest() protected méthode

protected GetWebRequest ( Uri address ) : WebRequest
address System.Uri
Résultat System.Net.WebRequest

WebClientEx() public méthode

public WebClientEx ( ) : System
Résultat System

WebClientEx() public méthode

public WebClientEx ( int timeout ) : System
timeout int
Résultat System