The properties of the ZipEntry class are listed below. For a complete list of ZipEntry class members, see the ZipEntry Members topic.
Public Instance Properties
CanDecompress | Get a value indicating wether this entry can be decompressed by the library. |
CentralHeaderRequiresZip64 | Get a value indicating wether the central directory entry requires Zip64 extensions to be stored. |
Comment | Gets/Sets the entry comment. |
CompressedSize | Gets/Sets the size of the compressed data. |
CompressionMethod | Gets/Sets the compression method. Only Deflated and Stored are supported. |
Crc | Gets/Sets the crc of the uncompressed data. |
DateTime | Gets/Sets the time of last modification of the entry. |
DosTime | Get/Set DosTime |
ExternalFileAttributes | Get/Set external file attributes as an integer. The values of this are operating system dependant see HostSystem for details |
ExtraData | Gets/Sets the extra data. |
Flags | Get/Set general purpose bit flag for entry |
HasCrc | Get a value indicating wether the entry has a CRC value available. |
HostSystem | Gets the compatability information for the external file attribute If the external file attributes are compatible with MS-DOS and can be read by PKZIP for DOS version 2.04g then this value will be zero. Otherwise the value will be non-zero and identify the host system on which the attributes are compatible. |
IsCrypted | Get/Set flag indicating if entry is encrypted. A simple helper routine to aid interpretation of flags |
IsDirectory | Gets a value indicating if the entry is a directory. however. |
IsFile | Get a value of true if the entry appears to be a file; false otherwise |
IsUnicodeText | Get / set a flag indicating wether entry name and comment text are encoded in Unicode UTF8 |
LocalHeaderRequiresZip64 | Gets a value indicating if the entry requires Zip64 extensions to store the full entry values. |
Name | Returns the entry name. The path components in the entry should always separated by slashes ('/'). Dos device names like C: should also be removed. See the ZipNameTransform class, or CleanName |
Offset | Get/set offset for use in central header |
Size | Gets/Sets the size of the uncompressed data. |
Version | Get minimum Zip feature version required to extract this entry |
VersionMadeBy | Get the version made by for this entry or zero if unknown. The value / 10 indicates the major version number, and the value mod 10 is the minor version number |
ZipFileIndex | Get/Set index of this entry in Zip file |