DotNetBrowser
1.21.5
|
Describes a user's proxy settings. More...
Inherits DotNetBrowser.ProxyConfig.
Public Member Functions | |
CustomProxyConfig (string proxyRules) | |
Constructs a new CustomProxyConfig instance with given proxyRules. More... | |
CustomProxyConfig (string proxyRules, string exceptions) | |
Constructs a new CustomProxyConfig instance with given proxyRules and exceptions. More... | |
![]() | |
override bool | Equals (object obj) |
Properties | |
string | ProxyRules [get] |
Gets string that represents proxy rules in specified format. The string should be a semicolon-separated list of ordered proxies that apply to a particular URL scheme. More... | |
string | Exceptions [get] |
Gets string that represents the set of URLs that should bypass the proxy settings. More... | |
Describes a user's proxy settings.
DotNetBrowser.CustomProxyConfig.CustomProxyConfig | ( | string | proxyRules | ) |
Constructs a new CustomProxyConfig instance with given proxyRules.
Examples of the proxyRules string:
"http=foopy:80;ftp=foopy2"
use HTTP proxy "foopy:80" for http://
URLs, and HTTP proxy "foopy2:80" for ftp://
URLs.
"foopy:80"
use HTTP proxy "foopy:80" for all URLs.
"socks4://foopy"
use SOCKS v4 proxy "foopy:1080" for all URLs.
proxyRules | string that represents proxy rules in specified format. The string should be a semicolon-separated list of ordered proxies that apply to a particular URL scheme. |
ArgumentException | when proxyRules is null. |
DotNetBrowser.CustomProxyConfig.CustomProxyConfig | ( | string | proxyRules, |
string | exceptions | ||
) |
Constructs a new CustomProxyConfig instance with given proxyRules and exceptions.
The format of the exceptions string can be any of the following:
If you need to provide several exception rules you can separate them using comma: "*foobar.com,.google.com,<local>".
proxyRules | string that represents proxy rules in specified format. The string should be a semicolon-separated list of ordered proxies that apply to a particular URL scheme. |
exceptions | string that represents the set of URLs that should bypass the proxy settings. |
ArgumentException | when proxyRules is null. |
|
get |
Gets string that represents the set of URLs that should bypass the proxy settings.
|
get |
Gets string that represents proxy rules in specified format. The string should be a semicolon-separated list of ordered proxies that apply to a particular URL scheme.