CompressionStream.CanWrite Property

Definition

Gets a value indicating whether the stream supports writing.

public override bool CanWrite { get; }
member this.CanWrite : bool

Property Value

true if the CompressionMode value is Compress, and the underlying stream supports writing and is not closed; otherwise, false .

Applies to