PageClientSetInterceptFileChooserDialogAsync Method |
Version 106.0.290
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 (in CefSharp.dll) Version: 106.0.290.0 (106.0.290.0)
Syntax public Task<DevToolsMethodResponse> SetInterceptFileChooserDialogAsync(
bool enabled
)
public:
Task<DevToolsMethodResponse^>^ SetInterceptFileChooserDialogAsync(
bool enabled
)
Parameters
- enabled
- Type: SystemBoolean
enabled
Return Value
Type:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also