C# Class NanoByte.Common.Net.WebClientTimeout

Adds a customizable timout to WebClient.
Inheritance: System.Net.WebClient
Show file Open project: nano-byte/common Class Usage Examples

Public Methods

Method Description
WebClientTimeout ( ) : System

Creates a new WebClient using DefaultTimeout.

WebClientTimeout ( int timeout ) : System

Creates a new WebClient.

Protected Methods

Method Description
GetWebRequest ( Uri address ) : WebRequest

Method Details

GetWebRequest() protected method

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

WebClientTimeout() public method

Creates a new WebClient using DefaultTimeout.
public WebClientTimeout ( ) : System
return System

WebClientTimeout() public method

Creates a new WebClient.
public WebClientTimeout ( int timeout ) : System
timeout int The length of time, in milliseconds, before requests made by this time out.
return System