Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ContentLength Property

HttpRequestWrapper::ContentLength Property

Gets the length, in bytes, of content that was sent by the client.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

public:
virtual property int ContentLength {
	int get () override;
}

Property Value

Type: System::Int32
The length, in bytes, of content that was sent by the client.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft