WebBrowser IgnoreHost Method C# API
Prevents requests from being sent to the specified domain.

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

public virtual void IgnoreHost(
	string domain
)

Parameters

domain
Type: System String
The host name to be ignored.
Remarks

This method only has any effect if the HostFilteringMode is set to BLOCKLIST. No HTTP/HTTPS requests will be made to this host. Use this method to prevent all HTTP calls to servers such as advertisement servers or servers that are offline.

Caution note Caution
The test may not function correctly if server calls are not made that are necessary for the correct operation of the test.

See Also