Xceed .NET Libraries Documentation
ExtraHeaders Property (ZippedFile)


Xceed.Zip Assembly > Xceed.Zip Namespace > ZippedFile Class : ExtraHeaders Property
Gets or sets the file's extra headers.
Syntax
'Declaration
 
Public Property ExtraHeaders As ExtraHeaders
'Usage
 
Dim instance As ZippedFile

Dim value As ExtraHeaders

 

instance.ExtraHeaders = value

 

value = instance.ExtraHeaders
public ExtraHeaders ExtraHeaders {get; set;}

Property Value

An ExtraHeaders value representing the file's extra headers. If the extra headers are read from an existing zip file, the ExtraHeaders property will reflect the known extra headers currently stored in the zip file. Otherwise, new instances will use the ZipArchive.ZipArchive.DefaultExtraHeaders.
Remarks

The zip file will automatically be updated when the value of the ExtraHeaders is changed. If batch modifications are to be made to the zip file, it is recommended that they be made between calls to the ZipArchive's BeginUpdate and EndUpdate methods.

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.

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

Reference

ZippedFile Class
ZippedFile Members