Click or drag to resize

HttpIncomingRequestResponseContentLength Property

Contains the ContentLength header value received from the remote side. If the remote did not provide a length (for example in HTTP 1.0 scenarios, or if Keep-Alive is not supported), accessing the property will raise an exception. Use the HasContentLength property to determine if a valid ContentLength has been received.

Namespace: Crestron.SimplSharp.Net.Http
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public int ContentLength { get; }

Property Value

Int32

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also