Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

WebClient.AllowReadStreamBuffering Property

.NET Framework 4.6 and 4.5

Note: This API is now obsolete.

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 (in System.dll)

[ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", 
	true)]
public bool AllowReadStreamBuffering { get; set; }

Property Value

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

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

.NET Framework

Obsolete (does not compile) in 4.5.2 and later

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8
Show:
© 2015 Microsoft