WebClient.AllowReadStreamBuffering Property



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.

 property bool AllowReadStreamBuffering { bool get(); void set(bool value); };
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public bool AllowReadStreamBuffering { get; set; }
member this.AllowReadStreamBuffering : bool with get, set
Public Property AllowReadStreamBuffering As Boolean

Property Value


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.

Applies to