This documentation is archived and is not being maintained.
HttpPostedFile.ContentLength Property
.NET Framework 1.1
Gets the size in bytes of an uploaded file.
[Visual Basic] Public ReadOnly Property ContentLength As Integer [C#] public int ContentLength {get;} [C++] public: __property int get_ContentLength(); [JScript] public function get ContentLength() : int;
Property Value
The length of the file.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
HttpPostedFile Class | HttpPostedFile Members | System.Web Namespace
Show: