Condividi tramite


WebClient.AllowWriteStreamBuffering Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets a value that indicates whether to buffer the data written to the Internet resource for a WebClient instance.

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

Syntax

'Declaration
Public Property AllowWriteStreamBuffering As Boolean
public bool AllowWriteStreamBuffering { get; set; }

Property Value

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

Remarks

When the AllowWriteStreamBuffering property is true, the data is buffered in memory so it can be written more efficiently to the Internet resource in larger chunks.

Version Information

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.