Specifies values for the 64-bit ZIP mode (compatible with ZIP64(tm)) when adding new files. Without the 64-bit ZIP extension:
- files longer than 4GB cannot be added to the archive,
- archives larger than 4GB cannot be created,
- the archive can contain maximum 65535 entries.

Namespace:  Rebex.IO.Compression
Assembly:  Rebex.Zip (in Rebex.Zip.dll)

Syntax

Visual Basic
Public Enumeration Zip64Mode
C#
public enum Zip64Mode

Members

Member nameDescription
Auto
Automatically determines whether the 64-bit ZIP extension need to be used.
Never
Never use the 64-bit ZIP extension. If the compressed or uncompressed size of the added file is longer than 4GB an exception is thrown. Adding file to archive longer than 4GB also throws an exception.
Always
Always use the 64-bit ZIP extension.
Please note that some unpackers don't support the 64-bit ZIP extension and they are even unable to extract files smaller than 4GB (e.g. Windows XP built in ZIP tool).

Remarks

ZIP64 is registered trademark of PKWARE, Inc.

Version Information

.NET Framework

Supported in: 4.8, 4.7.x, 4.6.x, 4.5.x, 4.0, 3.5 SP1

.NET Standard 2.0

Supported in: .NET Core 3.1, 3.0, 2.1; Xamarin.Android 9.1 (or higher); Xamarin.iOS 10.3 (or higher)

See Also