Xceed .NET Libraries Documentation
Xceed.Zip Assembly / Xceed.Zip Namespace / ExtraHeaders Enumeration


In This Topic
    ExtraHeaders Enumeration
    In This Topic
    Value representing the supplemental file information that is read from and written to a zip file.
    Syntax
    'Declaration
     
    <FlagsAttribute()>
    Public Enum ExtraHeaders 
       Inherits System.Enum
       Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
    'Usage
     
    Dim instance As ExtraHeaders
    Members
    MemberValueDescription
    ExtendedTimeStamp4The 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, last accessed, and creation dates and times. This extra header stores the three dates in the local header only, therefore you don't get the actual LastAccessed nor Creation dates and times until a ZippedFile is read. The date and time preserved by the ExtendedTimeStamp is limited to 2 seconds. Though the ExtendedTimeStamp is supported, we do not encourage its use.
    FileTimes2The 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, last accessed, and creation dates and times.
    None0No extra headers will be read or written.
    Unicode1The file path and comment will be read and/or written as Unicode (UTF-16, little endian). This extra header is not part of the Zip Specification and might not be supported by other zip libraries and applications.
    UTF8Comment16The 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.
    UTF8Filename8The 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.
    Remarks

    By default, a zip file created with a version of Xceed Zip for .NET prior to 2.2, WinZip, or Windows XP Compressed Folders, among others, will only preserve the last modified date and time.

    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             Xceed.Zip.ExtraHeaders

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also