FileSystemConfiguration.AllowDownload Property
In This Article
Specifies whether users can download files.
Namespace: DevExtreme.AspNet.Mvc.FileManagement
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public bool AllowDownload { get; set; }
#Property Value
Type | Description |
---|---|
Boolean | true, to allow users to download files; otherwise, false. |
#Remarks
API Controller:
C#
public IActionResult FileSystem(FileSystemCommand command, string arguments) {
var config = new FileSystemConfiguration {
//...
AllowDownload = true,
//...
}
}
#Concepts
#Online Demo
See Also