IFormFileUploadLimitService Interface |
Namespace: Kentico.Forms.Web.Mvc
public interface IFormFileUploadLimitService
The IFormFileUploadLimitService type exposes the following members.
Name | Description | |
---|---|---|
MaxAllowedContentLength |
Gets the 'maxAllowedContentLength' attribute value in bytes from the application's root web.config file.
Returns MAX_ALLOWED_CONTENT_LENGHT_DEFAULT_VALUE if the value is undefined.
| |
MaxAllowedFileSize |
Gets the maximal allowed upload file size in kilobytes.
The limit is the smaller value between MaxRequestLength and MaxAllowedContentLength converted to kilobytes.
| |
MaxRequestLength |
Gets the 'maxRequestLength' attribute value in kilobytes from the application's root web.config file.
Returns MAX_REQUEST_LENGTH_DEFAULT_VALUE if the value is undefined.
|