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




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

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

You can help support asp.net.ph