WebClient.AllowWriteStreamBuffering Property

July 28, 2014

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)

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.

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft