Partilhar via


WebClient.AllowReadStreamBuffering Propriedade

Definição

Cuidado

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Obtém ou define um valor que indica se os dados lidos do recurso da Internet devem ser armazenados em buffer para uma WebClient instância.

public:
 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; }
[<System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)>]
member this.AllowReadStreamBuffering : bool with get, set
Public Property AllowReadStreamBuffering As Boolean

Valor da propriedade

true para habilitar o buffer dos dados recebidos do recurso da Internet; false para desabilitar o buffer. O padrão é true.

Atributos

Comentários

Cuidado

WebRequest, HttpWebRequeste ServicePointWebClient são obsoletos e você não deve usá-los para um novo desenvolvimento. Use HttpClient em seu lugar.

Quando a AllowReadStreamBuffering propriedade é true, os dados são armazenados em buffer na memória para que estejam prontos para serem lidos pelo aplicativo.

Aplica-se a