Skip to main content

UploadedFile Properties

Contains settings that define a file uploaded via an individual file input field within the ASPxUploadControl.
Name Description
ContentLength Gets the size of an uploaded file, in bytes.
ContentType Gets the MIME content type of the uploaded file.
FileBytes Gets an array of the bytes in the uploaded file.
FileContent Gets a stream object that points to the uploaded file.
FileName Gets the uploaded file’s name.
FileNameInStorage Returns a file key name, by which it can be accessed in a cloud storage.
IsValid Gets a value indicating whether the uploaded file passes the validation criteria defined via the ASPxUploadControl.ValidationSettings property.
PostedFile Obsolete. Gets the uploaded file’s underlying object.
See Also