The ExtraHeaders property lets you control what type of supplemental file information you want stored in a zip file when it is created of updated. This property applies to the Zip and Convert methods only.
Enum | Value | Meaning |
---|---|---|
xehNone | 0 | No extra headers will be stored or retrieved. |
xehExtTimeStamp | 1 | Store extended time-stamp information about a file using a header format defined by the Info-Zip group. Time-stamp information is stored in UNIX format and includes the last modification date and time, the last accessed date and time and the creation date and time. |
xehFileTimes | 2 | Store extended time-stamp information about a file using a header format defined by PKWARE®. Time-stamp information is stored in Windows NT format and includes the last modification date and time, the last accessed date and time and the creation date and time. |
xehSecurityDescriptor | 4 | Store the Windows NT file security information header. |
xehUnicode | 8 | Store the UNICODE filename header. |
xehUTF8Filename | 32 | The file path will be read and/or written as Unicode (UTF-8). This extra header is part of the Zip Specification version 6.3.2. |
xehUTF8Comment | 64 | The file comment will be read and/or written as Unicode (UTF-8). This extra header is part of the Zip Specification version 6.3.2. |
xehFileTimes + xehUnicode + xehUTF8Filename + xehUTF8Comment
Declaration (DLL API) | |
---|---|
|
To control what type of supplemental information is to be ignored when a zip file is created, updated or accessed for extraction, use the IgnoredExtraHeaders property.
As of version 6.5, the xehUnicode extra header is deprecated. It should only be used if you need process zip files using old versions of Xceed Zip Compression Library and/or Zip .NET v4.0 and below.
It is not supported by third-party zip utilities. xehUTF8Filename and xehUTF8Comment have a better structure and are supported by recent versions of WinZip, Info-Zip and others.