Xceed .NET Libraries Documentation
CanRead Property (CompressedStream)


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

Property Value

true if the stream supports reading/decompressing; false otherwise.
Remarks

If the reading process to decompress the stream's data has already begun, CanWrite 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 CanRead