Xceed Real-Time Zip for .NET Documentation
Xceed.Compression Assembly / Xceed.Compression Namespace / CompressedStream Class / CanRead Property


In This Topic
    CanRead Property (CompressedStream)
    In This Topic
    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.

    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also

    Reference

    CompressedStream Class
    CompressedStream Members
    Base Implementation in CanRead