Click or drag to resize

BrowserClientCancelDownloadAsync Method

Version 130.1.90
Cancel a download if in progress

Namespace: CefSharp.DevTools.Browser
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax
public Task<DevToolsMethodResponse> CancelDownloadAsync(
	string guid,
	string browserContextId = null
)

Parameters

guid  String
Global unique identifier of the download.
browserContextId  String  (Optional)
BrowserContext to perform the action in. When omitted, default browser context is used.

Return Value

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