Back to Devexpress

FileSystemConfiguration.AllowDownload Property

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-filemanagement-dot-filesystemconfiguration-e78b8a29.md

latest1.3 KB
Original Source

FileSystemConfiguration.AllowDownload Property

Specifies whether users can download files.

Namespace : DevExtreme.AspNet.Mvc.FileManagement

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public bool AllowDownload { get; set; }

Property Value

TypeDescription
Boolean

true , to allow users to download files; otherwise, false.

|

Remarks

API Controller:

csharp
public IActionResult FileSystem(FileSystemCommand command, string arguments) {
    var config = new FileSystemConfiguration {
        //...
        AllowDownload = true,
        //...
    }
}

Concepts

Online Demo

See Also

FileSystemConfiguration Class

FileSystemConfiguration Members

DevExtreme.AspNet.Mvc.FileManagement Namespace