Click or drag to resize

NetworkClientSetBlockedURLsAsync Method

Version 107.1.120
Blocks URLs from loading.

Namespace:  CefSharp.DevTools.Network
Assembly:  CefSharp (in CefSharp.dll) Version: 107.1.120.0 (107.1.120.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