Share via


HttpWebRequest.SendChunked Property

Gets or sets the state of chunk transfer send mode.

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

Syntax

public bool SendChunked { get; set; }

Property Value

true to send data to the Internet resource in segments; otherwise, false. The default value is false.

Remarks

If true, bits are uploaded and written using the Chunked property of HttpWriteMode.

Exceptions

Exception type Condition
InvalidOperationException The setting cannot be changed, because the request was already submitted.

Version Information

Available in the .NET Micro Framework versions 4.0 and 4.1.

See Also

Reference

HttpWebRequest Class
HttpWebRequest Members
System.Net Namespace