SharpZipLib (#ziplib, formerly NZipLib) is a compression library that supports Zip files using both stored and deflate compression methods. Zip64 is supported while Deflate64 is not yet supported. It is implemented as an assembly (installable in the GAC), and thus can easily be incorporated into other projects (in any .NET language). The creator of SharpZipLib put it this way: "I've ported the zip library over to C# because I needed gzip/zip compression and I didn't want to use libzip.dll or something like this. I want all in pure C#."
SharpZipLib was originally ported from the GNU Classpath java.util.zip library for use with SharpDevelop, which needed gzip/zip compression.
The SharpZipLib homepage has precompiled libraries available for download, API documentation, release history, samples and more.
This software is now released under the MIT License. Please see issue #103 for more information on the relicensing effort.
Previous versions were released under the GNU General Public License, version 2 with an exception which allowed linking with non-GPL programs.
| Module | Namespace |
|---|---|
| Checksum implementation | ICSharpCode.SharpZipLib.Checksum.* |
| Core utilities / interfaces | ICSharpCode.SharpZipLib.Core.* |
| ZIP implementation | ICSharpCode.SharpZipLib.Zip.* |
| GZip implementation | ICSharpCode.SharpZipLib.GZip.* |
| Inflater/Deflater | ICSharpCode.SharpZipLib.Zip.Compression.* |
| Inflater/Deflater streams | ICSharpCode.SharpZipLib.Zip.Compression.Streams.* |
SharpZipLib was initially developed by Mike Krüger. Past maintainers are John Reilly, David Pierson and Neil McNeight.
And thanks to all the people that contributed features, bug fixes and issue reports.
.Net 4.0 downgrade with only Zip files and no AES encryption.