asp.net.ph

Request.ContentLength Property

System.Web Namespace   HttpRequest Class


Specifies the length, in bytes, of content sent by the client.

[ VB ]
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 content sent by the client.

Example

The following example shows the simplest way to retrieve and display the value representing the content length of the incoming request.

<%= Request.ContentLength %>

 Show me 

See Also

HttpRequest Members Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note