C# Class PluginSample.WebClientEx

Inheritance: System.Net.WebClient
Mostrar archivo Open project: GoldRenard/DMOAdvancedLauncher

Public Methods

Method 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

Protected Methods

Method Description
GetWebRequest ( Uri address ) : WebRequest

Method Details

CreateHTTPRequest() public static method

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

DownloadContent() public static method

public static DownloadContent ( ILogManager logManager, string url, int timeOut = null ) : string
logManager ILogManager
url string
timeOut int
return string

DownloadContent() public static method

public static DownloadContent ( ILogManager logManager, string url, int tryAttempts, int timeOut ) : string
logManager ILogManager
url string
tryAttempts int
timeOut int
return string

DownloadContent() public static method

public static DownloadContent ( string url, int timeOut = null ) : string
url string
timeOut int
return string

DownloadContent() public static method

public static DownloadContent ( string url, int tryAttempts, int timeOut ) : string
url string
tryAttempts int
timeOut int
return string

GetWebRequest() protected method

protected GetWebRequest ( Uri address ) : WebRequest
address System.Uri
return System.Net.WebRequest

WebClientEx() public method

public WebClientEx ( ) : System
return System

WebClientEx() public method

public WebClientEx ( int timeout ) : System
timeout int
return System