The UploaderValidateOption type exposes the following members.

Constructors

  Name Description
Public method UploaderValidateOption
Initializes a new instance of the UploaderValidateOption class

Methods

  Name Description
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetMaxSizeKBWithConfig
with DefaultMaxSizeKB/GlobalMaxSizeKB
Public method GetType
Gets the type of the current instance.
(Inherited from Object.)
Public method MatchExtension
Public method MatchMimeType
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a String that represents the current Object.
(Overrides Object..::..ToString()()()().)
Public method ValidateFileData

Properties

  Name Description
Public property AllowedFileExtensions
Gets or sets the allowed file extensions for uploading.
Public property AllowedFileMimeTypes
Public property EnableMimetypeChecking
Public property MaxSizeKB
Gets or sets the maximum allowed size of the file, in KB.

See Also