Click or drag to resize

BrowserClientCancelDownloadAsync Method

Version 91.1.160
Cancel a download if in progress

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

Parameters

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

Return Value

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