Click or drag to resize

NetworkClientSetBlockedURLsAsync Method

Version 108.4.130
Blocks URLs from loading.

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