Xceed .NET Libraries Documentation
AllowZip64Extensions Property


Xceed.Zip Assembly > Xceed.Zip.ReaderWriter Namespace > ZipWriter Class : AllowZip64Extensions Property
Gets a boolean value indicating whether Zip64 extensions of the Zip specification are enabled.
Syntax
'Declaration
 
Public ReadOnly Property AllowZip64Extensions As Boolean
'Usage
 
Dim instance As ZipWriter

Dim value As Boolean

 

value = instance.AllowZip64Extensions
public bool AllowZip64Extensions {get;}

Property Value

true if Zip64 extensions are enabled; false otherwise.
Remarks

Zip64 extensions to the Zip specification allow archives to contain more and larger items.

When Zip64 extensions are disabled (the default as of v5.1 and v4.3), an archive created by ZipWriter can contain up to 65534 items. An item can be up to 4GB and the archive itself can be up to 4GB in size. When Zip64 extensions are enabled (the default in v5.0 and v4.2 and lower), an archive created by ZipWriter can contain up to 2^31 - 1 items. An item can be up to 2^64 - 1 bytes and the archive itself can be up to 2^64 bytes in size.

Because some zip tools do not support archives that use the Zip64 extensions, you should be careful when enabling these extensions. WinRar and the default zip support in MacOS and Windows have all been observed as having problems with the extensions.

Earlier versions of this component used Zip64 extensions in every archive. As of v4.3 (.NET 2.0/3.5) and 5.1 (.NET4), Zip64 extensions are disabled by default.

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

ZipWriter Class
ZipWriter Members