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

ImageUploader.MaxFileSize Property

Maximum file size which is allowed for upload to the server.

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

Syntax

Visual Basic
Public Property MaxFileSize As Integer
C#
public int MaxFileSize { get; set; }

Property Value

A non-negative integer value that specifies maximum size (in bytes) for files allowed for upload. If the value is 0 then there is no limit.

Default value is 0 (no limit).

Remarks

This property corresponds to MaxFileSize client-side property.

See Also

Reference