WebClient.AllowWriteStreamBuffering Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Gets or sets a value that indicates whether to buffer the data written to the Internet resource for a WebClient instance.
public:
property bool AllowWriteStreamBuffering { 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 AllowWriteStreamBuffering { get; set; }
[<System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)>]
member this.AllowWriteStreamBuffering : bool with get, set
Public Property AllowWriteStreamBuffering As Boolean
Property Value
true
to enable buffering of the data written to the Internet resource; false
to disable buffering. The default is true
.
- Attributes
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.