System.Web Namespace HttpRequest Class
Gets the number of bytes in the current input stream.
[ VB ]
Public ReadOnly Property TotalBytes As Integer
[ C# ]
public int TotalBytes {get;}
[ C++ ]
public: __property int get_TotalBytes ( );
[ JScript ]
public function get TotalBytes ( ) : int;
The number of bytes in the input stream.
The following example shows the simplest way to retrieve and display the TotalBytes for the current URL request.
<%= Request.TotalBytes %>
Show me
HttpRequest Members