Improve this Doc View Source

Class WebProxyFactory

Creating a proxy is not very straightforward, that is why the logic is capsulated in the ProxyFactory.

Inheritance
System.Object
WebProxyFactory
Namespace:Dapplo.HttpExtensions.Factory
Assembly:Dapplo.HttpExtensions.dll
Syntax
public class WebProxyFactory

Methods

| Improve this Doc View Source

Create()

Create a IWebProxy Object which can be used to access the Internet This method will create a proxy according to the properties in the Settings class

Declaration
public static IWebProxy Create()
Returns
Type Description
System.Net.IWebProxy

IWebProxy filled with all the proxy details or null if none is set/wanted