Skip to content
#ziplib is a Zip, GZip, Tar and BZip2 library written entirely in C# for the .NET platform.
C# Other
  1. C# 99.3%
  2. Other 0.7%
Branch: master
Clone or download

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Merge PR#287, Update issue template to remove checkboxes Nov 18, 2018
benchmark/ICSharpCode.SharpZipLib.Benchmark Merge PR #441: Update the benchmark project to BenchmarkDotNet 0.12.1 Apr 12, 2020
docs Fix API docs styling Aug 11, 2019
samples/ICSharpCode.SharpZipLib.Samples Switch samples from source reference to Nuget package reference (curr… Aug 17, 2017
src/ICSharpCode.SharpZipLib Merge PR #432: Throw ArgumentNullException in BZip2 Apr 13, 2020
test Merge PR#469: Add test for writing using a zero byte buffer May 31, 2020
tools Merge PR #374: Update Docs generation Aug 11, 2019
.editorconfig Merge branch 'master' of https://github.com/McNeight/SharpZipLib into… Apr 26, 2016
.gitattributes Merge branch 'master' of https://github.com/McNeight/SharpZipLib into… Apr 26, 2016
.gitignore Merge PR #374: Update Docs generation Aug 11, 2019
.travis.yml Fix travis (#238) Jul 1, 2018
CONTRIBUTING.md Merge branch 'master' of https://github.com/McNeight/SharpZipLib into… Apr 26, 2016
ICSharpCode.SharpZipLib.sln Merge PR #330: Add a benchmarks project using BenchmarkDotNet Jun 15, 2019
LICENSE.txt Update LICENSE.txt so that Github recognizes it Jul 1, 2018
README.md Merge PR #431: Remove the link to the sharpdevelop forum from readme.md Mar 29, 2020
Rebracer.xml Enable Nuget package generation as well as Xml doc gen Aug 17, 2017
appveyor.yml Merge PR #374: Update Docs generation Aug 11, 2019
appveyor.yml.old For testing purposes, rename appveyor.yml Aug 18, 2017

README.md

SharpZipLib Build status Join the chat at https://gitter.im/icsharpcode/SharpZipLib

The SharpZipLib project is looking for a new maintainer - please read State of the Union August 2017

Introduction

SharpZipLib (#ziplib, formerly NZipLib) is a compression library that supports Zip files using both stored and deflate compression methods, PKZIP 2.0 style and AES encryption, tar with GNU long filename extensions, GZip, zlib and raw deflate, as well as BZip2. 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. bzip2 compression and tar archiving were added later due to popular demand.

The SharpZipLib homepage has precompiled libraries available for download, API documentation, release history, samples and more.

License

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.

Namespace layout

Module Namespace
BZip2 implementation ICSharpCode.SharpZipLib.BZip2.*
Checksum implementation ICSharpCode.SharpZipLib.Checksum.*
Core utilities / interfaces ICSharpCode.SharpZipLib.Core.*
Encryption implementation ICSharpCode.SharpZipLib.Encryption.*
GZip implementation ICSharpCode.SharpZipLib.GZip.*
LZW implementation ICSharpCode.SharpZipLib.Lzw.*
Tar implementation ICSharpCode.SharpZipLib.Tar.*
ZIP implementation ICSharpCode.SharpZipLib.Zip.*
Inflater/Deflater ICSharpCode.SharpZipLib.Zip.Compression.*
Inflater/Deflater streams ICSharpCode.SharpZipLib.Zip.Compression.Streams.*

Credits

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.

You can’t perform that action at this time.