Share via


AllowWriteStreamBuffering Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets a value that indicates whether to buffer the data sent to the Internet resource.

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

Syntax

'Declaration
Public Property AllowWriteStreamBuffering As Boolean
public bool AllowWriteStreamBuffering { get; set; }
public:
property bool AllowWriteStreamBuffering {
    bool get ();
    void set (bool value);
}
member AllowWriteStreamBuffering : bool with get, set
function get AllowWriteStreamBuffering () : boolean
function set AllowWriteStreamBuffering (value : boolean)

Property Value

Type: System. . :: . .Boolean
true to enable buffering of the data sent to the Internet resource; false to disable buffering. The default is true.

Remarks

When AllowWriteStreamBuffering is true, the data is buffered in memory so it is ready to be resent in the event of redirections or authentication requests.

Notes to Implementers

Setting AllowWriteStreamBuffering to true might cause performance problems when uploading large datasets because the data buffer could use all available memory.

.NET Framework Security

See Also

Reference

HttpWebRequest Class

System.Net Namespace