HostSystem Property

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

ZipEntry.HostSystem Property

Gets the compatability information for the external file attribute If the external file attributes are compatible with MS-DOS and can be read by PKZIP for DOS version 2.04g then this value will be zero. Otherwise the value will be non-zero and identify the host system on which the attributes are compatible.

public int HostSystem {get; set;}

Remarks

The values for this as defined in the Zip File format and by others are shown below. The values are somewhat misleading in some cases as they are not all used as shown. You should consult the relevant documentation to obtain up to date and correct information. The modified appnote by the infozip group is particularly helpful as it documents a lot of peculiarities. The document is however a little dated.

0 - MS-DOS and OS/2 (FAT / VFAT / FAT32 file systems)1 - Amiga2 - OpenVMS3 - Unix4 - VM/CMS5 - Atari ST6 - OS/2 HPFS7 - Macintosh8 - Z-System9 - CP/M10 - Windows NTFS11 - MVS (OS/390 - Z/OS)12 - VSE13 - Acorn Risc14 - VFAT15 - Alternate MVS16 - BeOS17 - Tandem18 - OS/40019 - OS/X (Darwin)99 - WinZip AESremainder - unused

See Also

ZipEntry Class | ICSharpCode.SharpZipLib.Zip Namespace