Click or drag to resize

PageClientSetInterceptFileChooserDialogAsync Method

Version 130.1.90
Intercept file chooser requests and transfer control to protocol clients. When file chooser interception is enabled, native file chooser dialog is not shown. Instead, a protocol event `Page.fileChooserOpened` is emitted.

Namespace: CefSharp.DevTools.Page
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax
public Task<DevToolsMethodResponse> SetInterceptFileChooserDialogAsync(
	bool enabled
)

Parameters

enabled  Boolean
enabled

Return Value

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