Xceed .NET Libraries Documentation
Xceed.Zip Assembly / Xceed.Zip.ReaderWriter Namespace / ZipReader Class
Members


In This Topic
    ZipReader Class
    In This Topic
    Represents an object used to read a Zip file passed to it as a stream.
    Syntax
    'Declaration
     
    Public Class ZipReader 
       Implements System.IDisposable 
    'Usage
     
    Dim instance As ZipReader
    public class ZipReader : System.IDisposable  
    Remarks
    Regardless of the compression method that is used, it is not possible to read 0-byte files.
    Inheritance Hierarchy

    System.Object
       Xceed.Zip.ReaderWriter.ZipReader

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets a manager object for the AES encryption functionality.  
    Public PropertyGets or sets a boolean value indicating whether the input stream can be closed by the object.  
    Public Property  
    Public PropertyGets or sets the encryption password that will be used to decrypt the files that are read from the zip stream.  
    Public Property  
    Public PropertyGets the input Stream object that was specified at construction.  
    Public Property  
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Provides correct cleanup of resources in the base class and its derived classes.  
    Public MethodReturns a new Stream object that implements a read-only stream around the ReadItemData method.  
    Public MethodReads the "Ending Header" in the zip stream and returns a ZipEndHeader object.  
    Public MethodOverloaded. Reads a sequence of bytes from the ZipReader's stream and advances the position within by the number of bytes read.  
    Public MethodOverloaded. Reads the local header of the current item from the Zip file.  
    Top
    Public Events
     NameDescription
    Public EventRaised when ReadItemData has been called.  
    Public EventRaised when the supplied password is invalid.  
    Top
    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