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

Restrictions.DeniedFileMask Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or set a file mask for the files that are denied to be uploaded.

Namespace: Aurigma.ImageUploader
Assembly: Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)

Syntax

Visual Basic
Public Property DeniedFileMask As String
C#
public string DeniedFileMask { get; set; }

Property Value

Type: System.String

The file mask for the files that are denied to be uploaded. You can use the standard wildcards such as asterisk * (arbitrary substring) and question mark ? (arbitrary character). To specify several masks, separate them by semicolons, e.g. *.exe;*.asp;*.htm.

Default value is "".

See Also

Reference

Manual