Export (0) Print
Expand All

HttpPostedFile.ContentLength Property

Gets the size of an uploaded file, in bytes.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

member ContentLength : int with get

Property Value

Type: System.Int32
The file length, in bytes.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft