VersionNeeded Property

DotNetZip

Ionic Zip Library v1.9.1.6 VersionNeeded Property
ReferenceIonic.ZipZipEntryVersionNeeded
The version of the zip engine needed to read the ZipEntry.
Declaration Syntax
C# Visual Basic Visual C++
public short VersionNeeded { get; }
Public ReadOnly Property VersionNeeded As Short
	Get
public:
property short VersionNeeded {
	short get ();
}
Remarks

This is a readonly property, indicating the version of the Zip specification that the extracting tool or library must support to extract the given entry. Generally higher versions indicate newer features. Older zip engines obviously won't know about new features, and won't be able to extract entries that depend on those newer features.

value Features
20
a basic Zip Entry, potentially using PKZIP encryption.
45
The ZIP64 extension is used on the entry.
46
File is compressed using BZIP2 compression*
50
File is encrypted using PkWare's DES, 3DES, (broken) RC2 or RC4
51
File is encrypted using PKWare's AES encryption or corrected RC2 encryption.
52
File is encrypted using corrected RC2-64 encryption**
61
File is encrypted using non-OAEP key wrapping***
63
File is compressed using LZMA, PPMd+, Blowfish, or Twofish

There are other values possible, not listed here. DotNetZip supports regular PKZip encryption, and ZIP64 extensions. DotNetZip cannot extract entries that require a zip engine higher than 45.

This value is set upon reading an existing zip file, or after saving a zip archive.

Assembly: Ionic.Zip (Module: Ionic.Zip) Version: 1.9.1.8 (1.9.1.8)