BrowserClientCancelDownloadAsync Method |
Version 118.6.80
Cancel a download if in progress
Namespace:
CefSharp.DevTools.Browser
Assembly:
CefSharp.Core (in CefSharp.Core.dll) Version: 118.6.80.0
Syntax public Task<DevToolsMethodResponse> CancelDownloadAsync(
string guid,
string browserContextId = null
)
public:
Task<DevToolsMethodResponse^>^ CancelDownloadAsync(
String^ guid,
String^ browserContextId = nullptr
)
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:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also