Partager via


WebClient.AllowReadStreamBuffering 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 read from the Internet resource for a WebClient instance.

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

Syntax

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

Property Value

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

Remarks

When the AllowReadStreamBuffering property is true, the data is buffered in memory so it is ready to be read by the application.

Version Information

Silverlight

Supported in: 5, 4, 3

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.