Table of Contents

Property OpenMultipleFilesHandler

Namespace
DotNetBrowser.Browser.Dialogs
Assembly
DotNetBrowser.dll

OpenMultipleFilesHandler

Gets or sets a handler that is used when the browser requests to display a file chooser dialog to open several files.

IHandler<OpenMultipleFilesParameters, OpenMultipleFilesResponse> OpenMultipleFilesHandler { get; set; }

Property Value

IHandler<OpenMultipleFilesParameters, OpenMultipleFilesResponse>

Remarks

You can use this handler to display the file chooser, or provide the files without displaying any dialogs.

Use the SelectFiles(params string[]) method to provide the selected files to the browser.

Use the Cancel() method to cancel the dialog.

If the handler throws an exception, the Cancel() method will be invoked.

Exceptions

ObjectDisposedException

The IBrowser has already been disposed.

ConnectionClosedException

The connection to the Chromium engine is closed.