DotNetBrowser  1.14
Public Member Functions | Properties | List of all members
DotNetBrowser.URLProxyConfig Class Reference

With this proxy configuration the connection uses proxy settings received from proxy auto-config (PAC) file which is located at the specific address. More...

Inherits DotNetBrowser.ProxyConfig.

Public Member Functions

 URLProxyConfig (string proxyAutoConfigFileURL)
 Constructs a new URLProxyConfig instance initiated with the proxyAutoConfigFileURL URL address where PAC file with proxy settings is located. The address of the PAC file must be a valid URL address. The address cannot contain a path to the PAC file on local file system. More...
 
- Public Member Functions inherited from DotNetBrowser.ProxyConfig
override bool Equals (object obj)
 

Properties

string ProxyAutoConfigFileURL [get]
 Gets URL address of the PAC file with proxy settings. More...
 

Detailed Description

With this proxy configuration the connection uses proxy settings received from proxy auto-config (PAC) file which is located at the specific address.

In case PAC script fails, a direct connection will be used.

Constructor & Destructor Documentation

DotNetBrowser.URLProxyConfig.URLProxyConfig ( string  proxyAutoConfigFileURL)

Constructs a new URLProxyConfig instance initiated with the proxyAutoConfigFileURL URL address where PAC file with proxy settings is located. The address of the PAC file must be a valid URL address. The address cannot contain a path to the PAC file on local file system.

Parameters
proxyAutoConfigFileURLURL address of the PAC file with proxy settings.
Exceptions
ArgumentExceptionwhen proxyAutoConfigFileURL is null.

Property Documentation

string DotNetBrowser.URLProxyConfig.ProxyAutoConfigFileURL
get

Gets URL address of the PAC file with proxy settings.