HttpWebRequest.ContentLength Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets for sets the length, in bytes, of content sent by the client.

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

Syntax

Public Overrides Property ContentLength As Long
public override long ContentLength { get; set; }

Property Value

Type: System..::.Int64
The number of bytes of content sent by the client.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

HttpWebRequest Class

System.Net Namespace