FileManagerExtension.DownloadFiles(FileManagerSettings, FileSystemProviderBase, FileManagerFileDownloadingEventHandler) Method

Returns the binary content of downloaded files from the FileManager with the specified settings.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v21.1.dll


public static FileStreamResult DownloadFiles(
    FileManagerSettings settings,
    FileSystemProviderBase fileSystemProvider,
    FileManagerFileDownloadingEventHandler fileDownloadingDelegate


Name Type Description
settings FileManagerSettings

A FileManagerSettings object that is the file manager settings.

fileSystemProvider FileSystemProviderBase

A FileSystemProviderBase object that is the custom file system provider to which the FileManager extension is bound.

fileDownloadingDelegate FileManagerFileDownloadingEventHandler

A delegate method that will handle the event that fires on the server side before a file download starts, allowing you to cancel the action.


Type Description

A FileStreamResult object that is a binary content sent to the response.

See Also