| Visual Basic (Declaration) | |
|---|---|
Public Shared Property DefaultExtraHeaders As ExtraHeaders | |
| C# | |
|---|---|
public static ExtraHeaders DefaultExtraHeaders {get; set;} | |
Return Value
An ExtraHeaders value representing the extra headers of the items that are added to the zip file. By default, a combination of ExtraHeaders.FileTimes, ExtraHeaders.Unicode, ExtraHeaders.UTF8Filename, and ExtraHeaders.UTF8Comment.
If the ZippedFile.ZippedFile.ExtraHeaders or ZippedFolder.ZippedFolder.ExtraHeaders properties are explicitly set, the extra headers specified in the ExtraHeaders properties will be used rather than the default extra headers.
When a zip file is read , extra headers that are stored in the zip file will be read and processed regardless of the value of the DefaultExtraHeaders property.
New item(s) that are added to the zip file will inherit the DefaultExtraHeaders unless the ExtraHeaders property of an item has been explicitly set.
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.
As of version 4.1, the ExtraHeaders.Unicode extra header is deprecated. It should only be used if you need process zip files using old
versions of Xceed Zip for .NET or Xceed Zip Compression Library v6.1 and below.
It is not supported by third-party zip utilities. ExtraHeaders.UTF8Filename and ExtraHeaders.UTF8Comment have an improved structure and are supported by recent versions of WinZip, Info-Zip and others.
Target Platforms: Windows 2000 Service Pack 3; Windows 98; Windows 98 Second Edition; Windows ME; Windows Server 2003; Windows Vista Business; Windows Vista Business 64-bit edition; Windows Vista Enterprise; Windows Vista Enterprise 64-bit edition; Windows Vista Home Basic; Windows Vista Home Basic 64-bit edition; Windows Vista Home Premium; Windows Vista Home Premium 64-bit edition; Windows Vista Starter; Windows Vista Ultimate; Windows Vista Ultimate 64-bit edition; Windows XP Service Pack 2
Supported Frameworks: Microsoft .NET Framework version 2.0; Microsoft .NET Framework version 3.0