The ASP TotalBytes is a read-only property. This Property is used to return the total number of bytes that the client will send through the body of the request.
Counter = Request.TotalBytes
Parameter Values: This property accepts a single parameter as mentioned above and described below:
- Counter: It contains a counter variable that uses to receive the total number of bytes that the client sends in the body of the request.
Example: Below code uses a counter variable that stores a total number of bytes included.