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.