BitField Property

DotNetZip

Ionic Zip Library v1.9.1.6 BitField Property
ReferenceIonic.ZipZipEntryBitField
The bitfield for the entry as defined in the zip spec. You probably never need to look at this.
Declaration Syntax
C# Visual Basic Visual C++
public short BitField { get; }
Public ReadOnly Property BitField As Short
	Get
public:
property short BitField {
	short get ();
}
Remarks

You probably do not need to concern yourself with the contents of this property, but in case you do:

bit meaning
0
set if encryption is used.
1-2
set to determine whether normal, max, fast deflation. DotNetZip library always leaves these bits unset when writing (indicating "normal" deflation"), but can read an entry with any value here.
3
Indicates that the Crc32, Compressed and Uncompressed sizes are zero in the local header. This bit gets set on an entry during writing a zip file, when it is saved to a non-seekable output stream.
4
reserved for "enhanced deflating". This library doesn't do enhanced deflating.
5
set to indicate the zip is compressed patched data. This library doesn't do that.
6
set if PKWare's strong encryption is used (must also set bit 1 if bit 6 is set). This bit is not set if WinZip's AES encryption is set.
7
not used
8
not used
9
not used
10
not used
11
Language encoding flag (EFS). If this bit is set, the filename and comment fields for this file must be encoded using UTF-8. This library currently does not support UTF-8.
12
Reserved by PKWARE for enhanced compression.
13
Used when encrypting the Central Directory to indicate selected data values in the Local Header are masked to hide their actual values. See the section in the Zip specification describing the Strong Encryption Specification for details.
14
Reserved by PKWARE.
15
Reserved by PKWARE.

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