This topic has not yet been rated - Rate this topic

WebRequest.ContentLength Property

April 12, 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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.