Click or drag to resize

NetworkClientSetBlockedURLsAsync Method

Version 111.2.70
Blocks URLs from loading.

Namespace:  CefSharp.DevTools.Network
Assembly:  CefSharp (in CefSharp.dll) Version: 111.2.70.0 (111.2.70.0)
Syntax
public Task<DevToolsMethodResponse> SetBlockedURLsAsync(
	string[] urls
)

Parameters

urls
Type: SystemString
URL patterns to block. Wildcards ('*') are allowed.

Return Value

Type: TaskDevToolsMethodResponse
returns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also