Xceed Real-Time Zip for .NET Documentation
CanWrite Property (CompressedStream)


Xceed.Compression Assembly > Xceed.Compression Namespace > CompressedStream Class : CanWrite Property
Determines whether the inner stream supports writing AND the compressed stream supports data compression.
Syntax
'Declaration
 
Public Overrides ReadOnly Property CanWrite As Boolean
'Usage
 
Dim instance As CompressedStream
Dim value As Boolean
 
value = instance.CanWrite
public override bool CanWrite {get;}

Property Value

true if the stream supports writing/compressing; false otherwise.
Remarks

If the writing process to compress the stream's data has already begun, CanRead will always return false.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CompressedStream Class
CompressedStream Members
Base Implementation in CanWrite