C# Class TwoFactorAuthNet.Providers.Qr.BaseHttpQrCodeProvider.ExtendedWebClient

Extended webclient where a timeout can be specified/set.
Inheritance: System.Net.WebClient
Show file Open project: RobThree/TwoFactorAuth.Net

Public Methods

Method Description
ExtendedWebClient ( System.TimeSpan timeOut, RemoteCertificateValidationCallback remoteCertificateValidationCallback ) : System

Protected Methods

Method Description
GetWebRequest ( Uri address ) : WebRequest

Method Details

ExtendedWebClient() public method

public ExtendedWebClient ( System.TimeSpan timeOut, RemoteCertificateValidationCallback remoteCertificateValidationCallback ) : System
timeOut System.TimeSpan
remoteCertificateValidationCallback RemoteCertificateValidationCallback
return System

GetWebRequest() protected method

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