FileSystemUploadFileOptions.DestinationDirectory Property
Gets information about a directory where files are uploaded.
Namespace: DevExtreme.AspNet.Mvc.FileManagement
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public FileSystemItemInfo DestinationDirectory { get; }
Property Value
Type | Description |
---|---|
FileSystemItemInfo | Information about a directory. |
Remarks
public class MyFileSystemProvider : IFileUploader {
public void UploadFile(FileSystemUploadFileOptions options) {
string destinationKey = $"{options.DestinationDirectory.Path}/{options.FileName}";
// your code
}
}
Concepts
Online Demo
See Also