This documentation is for the old version. Go to the latest Upload Suite docs

Restrictions Properties

The Restrictions type exposes the following properties.

Properties

NameDescription
Public property DeniedFileMask Gets or set a file mask for the files that are denied to be uploaded.
Public property EnableCmyk Gets or sets a value indicating whether it is impossible to select CMYK images for the upload.
Public property FileMask Gets or sets a file mask for the files which are allowed to be uploaded.
Public property MaxFileCount Gets or sets a maximum number of files allowed for upload per one session.
Public property MaxFileSize Gets or sets a maximum file size allowed for upload to the server.
Public property MaxImageHeight Gets or sets a maximum image height allowed for upload.
Public property MaxImageWidth Gets or sets a maximum image width allowed for upload.
Public property MaxTotalFileSize Gets or sets a maximum total file size allowed for upload.
Public property MinFileCount Gets or sets a minimum number of files allowed for upload per one session.
Public property MinFileSize Gets or sets a minimum file size allowed for upload.
Public property MinImageHeight Gets or sets a minimum image height allowed for upload.
Public property MinImageWidth Gets or sets a minimum image width allowed for upload.