WebRequest.ContentLength Property

July 28, 2014

When overridden in a descendant class, gets or sets the content length of the request data being sent.

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

public virtual long ContentLength { get; set; }

Property Value

Type: System.Int64
The number of bytes of request data being sent.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2014 Microsoft