HttpRequestBase.ContentLength Property

 

When overridden in a derived class, 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 int ContentLength { get; }

Property Value

Type: System.Int32

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

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: