ZipReader Class
Namespace: Rebex.IO.Compression
Assembly: Rebex.Zip.dll (version 7.0.9147)
Class for reading and extracting ZIP files sequentially, supporting non-seekable streams.
Syntax
public class ZipReader : IDisposable
Implements
Inherited Members
Constructors
Name | Description |
---|---|
Zip |
Initializes a Zip |
Zip |
Initializes a Zip |
Zip |
Initializes a Zip |
Properties
Name | Description |
---|---|
Can |
Returns true if the currently read item can be extracted using Rebex ZIP for .NET component. |
Compressed |
Gets compressed file length. |
Compression |
Gets the compression method used to compress the file. |
Crc32 | Gets the CRC32 (Cyclic Redundancy Check) value of the file. |
Creation |
Gets or sets the creation time attribute of the currently read item. |
Encryption |
Gets the name of the algorithm used to encrypt the currently read item. |
Is |
Gets a value indicating whether the currently read item is a directory. |
Is |
Gets a value indicating whether the currently read item is encrypted. |
Is |
Gets a value indicating whether the currently read item is a file. |
Is |
Gets a value indicating whether the item is a link. |
Item |
Gets the type of the currently read item. |
Last |
Gets or sets the last access time attribute of the currently read item. |
Last |
Gets or sets the last modification time attribute of the currently read item. |
Length | Gets uncompressed file length. |
Name | Gets the name of the currently read item. |
Password | Gets or sets a password to be used when extracting the file. |
Path | Gets the full path to the currently read item (including its name) within the ZIP archive. |
Methods
Name | Description |
---|---|
Close() | Releases all resources used by the current Zip |
Dispose(Boolean) | Releases the unmanaged resources used by the Zip |
Extract(Stream) | Extracts the current file item to the specified stream. |
Extract(String) | Extracts the current file item into a local file. |
Extract(String, Action |
Extracts the current file item into a local file. |
Get |
Gets a read-only stream for reading the uncompressed data of the current file. |
Read |
Reads next item from the ZIP archive. |
Explicit Interface Implementations
Name | Description |
---|---|
IDisposable. |
Releases all resources used by the current Zip |