WebBrowser IgnoreHostRegexp Method C# API
Prevents requests from being sent to any domain that matches the specified regular expression.

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

public virtual void IgnoreHostRegexp(
	string regexp


Type: System String
The regular expression to use.

This method only has any effect if the HostFilteringMode is set to BLOCKLIST. No HTTP/HTTPS requests will be made to any of these domains. 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