ZipItem Class
Namespace: Rebex.IO.Compression
Assembly: Rebex.Zip.dll (version 7.0.9313)
Represents an item (file or directory) within a ZIP archive.
Syntax
public class ZipItem : ArchiveItem
Inherited Members
Properties
| Name | Description |
|---|---|
|
Can |
Returns true if the current Zip |
| Comment | Gets or sets the comment of the current Zip |
|
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 current Zip |
|
Encryption |
Gets the name of the algorithm used to encrypt the current Zip |
|
Is |
Gets a value indicating whether the current Zip |
|
Is |
Gets a value indicating whether the current Zip |
|
Is |
Gets a value indicating whether the current Zip |
|
Is |
Gets a value indicating whether the current Zip |
|
Is |
Gets a value indicating whether the current Zip |
|
Is |
Gets a value indicating whether the item is a link. |
|
Is |
Gets a value indicating whether the current Zip |
|
Item |
Gets the type of the current Zip |
|
Last |
Gets or sets the last access time attribute of the current Zip |
|
Last |
Gets or sets the last modification time attribute of the current Zip |
| Length | Gets uncompressed file length. |
|
Link |
Gets the target of the link. |
| Name | Gets the name of the current Zip |
| Path | Gets the full path to the current Zip |
|
Unix |
Gets the Unix Group ID. |
|
Unix |
Gets the Unix Owner ID. |
|
Unix |
Gets the standard Unix st_mode field from struct stat (contains user/group/other permissions, setuid/setgid, file type). |
Methods
| Name | Description |
|---|---|
| Delete() | Deletes the current file or empty directory item from the archive.
Inherited from Archive |
|
Delete(Archive |
Deletes the current file or empty directory item from the archive.
Inherited from Archive |
|
Delete(Traversal |
Deletes the current Zip |
|
Extract |
Extracts the current file item into a byte array. |
|
Extract |
Extracts the current item into the specified directory.
Inherited from Archive |
|
Extract |
Extracts the current Zip |
|
Extract |
Extracts the current file item into a local file. |
|
Extract |
Extracts the current file item into a local file. |
|
Extract |
Extracts the current file item to the specified stream. |
|
Get |
Gets the creation time attribute of the item.
Inherited from Archive |
|
Get |
Gets the last access time attribute of the item.
Inherited from Archive |
|
Get |
Gets the last modification time attribute of the item.
Inherited from Archive |
| Open() | Returns an initialized read-only non-seekable stream to read the decompressed data of the current item.
Inherited from Archive |
| Open(String) | Returns an initialized read-only non-seekable stream to read the decompressed data of the current item. |
| Rename(String) | Renames the current Zip |
|
To |
Returns a System.String that represents the current item.
Inherited from Archive |