FileSystemUploadFileOptions.FileName Property
Gets the uploaded file name.
Namespace: DevExtreme.AspNet.Mvc.FileManagement
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public string FileName { get; }
Property Value
Type | Description |
---|---|
String | The file name. |
Remarks
public class MyFileSystemProvider : IFileUploader {
public void UploadFile(FileSystemUploadFileOptions options) {
string destinationKey = $"{options.DestinationDirectory.Path}/{options.FileName}";
// your code
}
}
Concepts
Online Demo
See Also