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: 9.5.5.77 (1.0.0.0)
Syntax

public virtual void IgnoreHostRegexp(
	string regexp
)

Parameters

regexp
Type: System String
The regular expression to use.
Remarks

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