WebBrowser SetAccess Method C# API
Sets the dwAccessType, lpszProxyName and lpszProxyBypass parameters to be passed to InternetOpen() used by WinInet/WinHTTP.

Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.4.0.26 (1.0.0.0)
Syntax

public virtual void SetAccess(
	int accessType,
	string proxyServer,
	string proxyBypass
)

Parameters

accessType
Type: System Int32
Possible values are documented at OnlineMicrosoft MSDN InternetOpen function.
proxyServer
Type: System String
The proxy server address when accessType is set to INTERNET_OPEN_TYPE_PROXY. This must not be an empty string.
proxyBypass
Type: System String
An optional list of host names or IP addresses, or both, that should not be routed through the proxy when accessType set to INTERNET_OPEN_TYPE_PROXY. This must not be an empty string.
Exceptions

ExceptionCondition
NotSupportedExceptionEither the WinInet or WinHTTP handler is currently in use, for which this method is not supported.
See Also