System.Web.HttpRequest.ContentLength Property

Specifies the length, in bytes, of content sent by the client.

Syntax

public int ContentLength { get; }

Value

The size of the data that has been attached to this request or zero if this information was not provided.

Remarks

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0