Skip to main content

UploadedFile.FileName Property

Gets the uploaded file’s name.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web


public string FileName { get; }

Property Value

Type Description

A String value specifying the file name.


You can use this property’s value to compose the UploadedFile.SaveAs method’s parameter value.


The FileName property contains the name of the uploaded file, but does not store the path to the file.

The following code snippets (auto-collected from DevExpress Examples) contain references to the FileName property.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also