IncomingWebRequestContext.ContentLength Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the ContentLength header value of the incoming Web request.

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

public long ContentLength { get; }

Property Value

Type: System.Int64

The ContentLength header of the incoming Web request.

.NET Framework
Available since 3.5
Return to top