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 | 
|---|---|
| CanExtract | Returns true if the current ZipItem can be extracted using Rebex ZIP for .NET component.  | 
      
| Comment | Gets or sets the comment of the current ZipItem.  | 
      
| CompressedLength | Gets compressed file length.  | 
      
| CompressionMethod | Gets the compression method used to compress the file.  | 
      
| Crc32 | Gets the CRC32 (Cyclic Redundancy Check) value of the file.  | 
      
| CreationTime | Gets or sets the creation time attribute of the current ZipItem.  | 
      
| EncryptionAlgorithm | Gets the name of the algorithm used to encrypt the current ZipItem.  | 
      
| IsDeleted | Gets a value indicating whether the current ZipItem represents a deleted item.  | 
      
| IsDirectory | Gets a value indicating whether the current ZipItem is a directory.  | 
      
| IsEmptyDirectory | Gets a value indicating whether the current ZipItem is an empty directory.  | 
      
| IsEncrypted | Gets a value indicating whether the current ZipItem is encrypted.  | 
      
| IsFile | Gets a value indicating whether the current ZipItem is a file.  | 
      
| IsLink | Gets a value indicating whether the item is a link.  | 
      
| IsRootDirectory | Gets a value indicating whether the current ZipItem is the root directory of the ZIP archive.  | 
      
| ItemType | Gets the type of the current ZipItem.  | 
      
| LastAccessTime | Gets or sets the last access time attribute of the current ZipItem.  | 
      
| LastWriteTime | Gets or sets the last modification time attribute of the current ZipItem.  | 
      
| Length | Gets uncompressed file length.  | 
      
| LinkTarget | Gets the target of the link.  | 
      
| Name | Gets the name of the current ZipItem.  | 
      
| Path | Gets the full path to the current ZipItem (including its name) within the ZIP archive.  | 
      
| UnixGroupId | Gets the Unix Group ID.  | 
      
| UnixOwnerId | Gets the Unix Owner ID.  | 
      
| UnixPermissions | 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 ArchiveItem.  | 
      
| Delete(ArchiveSaveAction) | Deletes the current file or empty directory item from the archive. Inherited from ArchiveItem.  | 
      
| Delete(TraversalMode, ArchiveSaveAction) | Deletes the current ZipItem from the ZIP archive.  | 
      
| ExtractToArray() | Extracts the current file item into a byte array.  | 
      
| ExtractToDirectory(String) | Extracts the current item into the specified directory. Inherited from ArchiveItem.  | 
      
| ExtractToDirectory(String, TraversalMode, ActionOnExistingFiles) | Extracts the current ZipItem into the specified local directory using the specified arguments.  | 
      
| ExtractToFile(String) | Extracts the current file item into a local file.  | 
      
| ExtractToFile(String, ActionOnExistingFiles) | Extracts the current file item into a local file.  | 
      
| ExtractToStream(Stream) | Extracts the current file item to the specified stream.  | 
      
| GetCreationTime() | Gets the creation time attribute of the item. Inherited from ArchiveItem.  | 
      
| GetLastAccessTime() | Gets the last access time attribute of the item. Inherited from ArchiveItem.  | 
      
| GetLastWriteTime() | Gets the last modification time attribute of the item. Inherited from ArchiveItem.  | 
      
| Open() | Returns an initialized read-only non-seekable stream to read the decompressed data of the current item. Inherited from ArchiveItem.  | 
      
| Open(String) | Returns an initialized read-only non-seekable stream to read the decompressed data of the current item.  | 
      
| Rename(String) | Renames the current ZipItem.  | 
      
| ToString() | Returns a System.String that represents the current item. Inherited from ArchiveItem.  |