ContentLength64 Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the length of the body data included in the request.
Namespace: System.Net
Assembly: System.Http (in System.Http.dll)
Syntax
'Declaration
Public ReadOnly Property ContentLength64 As Long
public long ContentLength64 { get; }
public:
property long long ContentLength64 {
long long get ();
}
member ContentLength64 : int64 with get
function get ContentLength64 () : long
Property Value
Type: System. . :: . .Int64
The value from the request's Content-Length header. This value is -1 if the content length is not known.
Remarks
The Content-Length header expresses the length, in bytes, of the body data that accompanies the request.
For a complete list of request headers, see the HttpRequestHeader enumeration.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.