---
title: "Restrictions..::.MaxFileSize Property HTML5/Flash Uploader ASP.NET"
canonical: https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_Restrictions_MaxFileSize.htm
product: "Upload Suite 8"
---

# Restrictions.MaxFileSize Property HTML5/Flash Uploader ASP.NET

Supported technologies: ![Adobe Flash](https://www.aurigma.com/docs/us8/icons/flash.png)
 
Gets or sets a maximum file size allowed for upload to the server.
 
**Namespace:** [Aurigma.ImageUploaderFlash](https://www.aurigma.com/docs/us8/FH_N_Aurigma_ImageUploaderFlash.htm.md)
 **Assembly:** Aurigma.ImageUploaderFlash (in Aurigma.ImageUploaderFlash.dll)
 
## Syntax
  
```csharp
public long MaxFileSize { get; set; }
```
 
### Property Value
 
Type: [System..Int64](http://msdn2.microsoft.com/en-us/library/6yy583ek)
 
The maximum size (in bytes) for files allowed for upload. If the value is `0`, then there is no limit.
 
Default value is **0**.
   
## See Also

### Reference

- [Restrictions Class](https://www.aurigma.com/docs/us8/FH_T_Aurigma_ImageUploaderFlash_Restrictions.htm.md)
- [Aurigma.ImageUploaderFlash Namespace](https://www.aurigma.com/docs/us8/FH_N_Aurigma_ImageUploaderFlash.htm.md)
- [$au.restrictions.maxFileSize JavaScript Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_J_$au_restrictions_maxFileSize.htm.md)
- [Restrictions.MaxFileSize PHP Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_P_Restrictions_MaxFileSize.htm.md)
