This project is read-only. DotNetZip

Rating:        Based on 56 ratings
Reviewed:  46 reviews
Downloads: 163446
Released: Aug 28, 2009
Updated: Aug 3, 2011 by Cheeso
Dev status: Stable Help Icon

Recommended Download

application, 6985K, uploaded Feb 26, 2010 - 116255 downloads

Other Available Downloads

Source Code
source code, 5849K, uploaded Feb 26, 2010 - 15431 downloads
application, 481K, uploaded Feb 26, 2010 - 13458 downloads
Application DotNetZipLib-Runtime-v1.9.msi
application, 1179K, uploaded Feb 26, 2010 - 4547 downloads
application, 663K, uploaded Feb 26, 2010 - 5589 downloads
Application DotNetZipUtils-v1.9.msi
application, 1177K, uploaded Feb 26, 2010 - 2722 downloads
Documentation DotNetZipLib-v1.9.chm
documentation, 2356K, uploaded Feb 26, 2010 - 5444 downloads

Release Notes

This is DotNetZip v1.9. It is the latest stable release. The current version number is v1.9.1.5, released 2010 February 25.

New features:
Parallel deflate, to optimize the Zip library to use multi-processors
Support Asynchronous Operations
create and read multi-part zip files.
Allow setters on ModifiedTime, AccessedTime, CreationTime
Make traversal of NTFS Junctions optional in AddDirectory
Expose IsZipFile method to COM clients
Add support for optionally traversing directory junctions in WinForms app
Allow writing into ZipEntry stream (WriteDelegate)
implement ZipOutputStream
Implement a ZipInputStream
Self Extracting EXE - optionally remove files after running "post unpack exe"
Environment Variable substitution on the default extract location of SFX
Deliver DotNetZipLib Help so that it can be integrated into VS2008

Notable fixes:
Zip Tool and File associations
Remove obsolete methods and properties
Can't unzip on the Mac, when the zip was written to Response.OutputStream and includes a folder
Zlib exception when compressed stream size is (multiple of buffer size) + header size +(0 to 7)
Public key token differs between ILMerge'd DLLs and regular DLLs

There are some breaking changes from v1.8:
  • the SaveSelfExtractor() methods have been consolidated. They use the new SelfExtractorSaveOptions class.
  • All the interfaces marked Obsolete in v1.8 have been removed. These include: the methods on the ZipFile class: AddFileFromStream(), AddFileStream() UpdateFileStream(), AddFileFromString(), all the Extract() methods that accept an entry name, and the ExtractAll() method that accepts a boolean; on the ZipEntry class, the Extract() methods that accept a Boolean, and the OverwriteOnExtract property, as well as the SetNtfsTimes() method.
  • For FxCopy compliance, the properties on the ZipEntry called Atime, Mtime, and Ctime have been replaced with AccessedTime, ModifiedTime and CreationTime.
  • The WantCompression callback has been removed. There is a SetCompression callback that can be used in its place.
  • The ReadTwiceOnInflation callback has been removed. It's no longer necessary now that DotNetZip uses zlib.
  • The ForceNoCompression property has been removed as redundant. Use CompressionLevel instead.
  • The public key used on some of the assemblies has changed. (See workitem 8819)
  • The ZipFile.AddEntry and UpdateEntry methods that accept a directoryPathInArchive have been modified.

Features being deferred to the next release:
  • Asynchronous Programming Model for DeflateStream/GZipStream/ZlibStream
  • Silverlight support
  • expanded COM support: events, zlib, etc.

There will also be fit-and-finish changes and bug fixes. I would also expect a few smaller, tactical features.

This release has these downloads:
  1. - the source code for the Zip & Zlib Libraries, the setup (msi) project, and a bunch of examples. Download this if you want to peruse or modify the source, or extend the example utilities.
  2. - a binary release, that includes of the signed DLLs for Zip and Zlib, for desktop and Compact Framework; the XML Documentation file for intellisense; the compiled help file (CHM); and the License. Download this if you want to build .NET, COM, or PowerShell apps that use the Zip library.
  3. - a binary release, that includes the signed DLLs, and the License. Download this if you want to distribute .NET applications that use the Zip library, or if you want to run a .NET application that depends on this library.
  4. DotNetZipLib-Runtime-v1.9.msi - Same as the Runtime zip above, packaged in an MSI installer. It registers the DLL for COM use. Download this if you want to install DotNetZip on a computer that will run apps that depend on the library.
  5. - a set of exe tools (command-line and GUI) that rely on the library, to create and manage zip files. Download this if you want tools to manipulate zip files.
  6. DotNetZipUtils-v1.9.msi - an installer for Windows for the Zip utilities that utilize the library. This is the same stuff as the, but in MSI form. It optionally sets up file associations, guides you through the install.
  7. DotNetZipLib-v1.9.chm - the help file. See the FAQ item on the home page for how to enable this file for reading.

Reviews for this release

thanks you
by matoub on Jul 6, 2013 at 3:36 PM
Broken. Tried using it in Visual Studio 2010 in a C# project. ZlibException, "Bad GZip Header", is the only output I get when throwing a byte array at it and the entries in the object browser are completely empty of documentation. Using .net 4... maybe they're still a little behind. I'm moving on.
by Frazier_360 on Jul 16, 2012 at 6:39 PM
Very simple to use and very fast :) Great library!
by littlefox on Apr 24, 2012 at 11:34 AM
This is a superb library - I have used it in several apps! :) - the only wish I have is that it could support 7z (without interop) - then it will be awsome by far! :)
by solo95 on Jan 12, 2012 at 1:42 PM
Very good library, simple to use and with great documentation and samples. Thanks!
by CyberAngel on Jul 11, 2011 at 12:46 PM
I'm using this on Roadkill wiki for the exporting tools - a great API thanks for sharing.
by mrshrinkray on Jun 18, 2011 at 6:54 PM
Works like a charm. Keep on the good work!
by RudolfHenning on Jun 6, 2011 at 10:29 AM
mejor que las versiones anteriorir
by ivlaram on May 19, 2011 at 6:26 PM
Totally awesome! Definitely 5 stars
by batman99 on May 19, 2011 at 4:59 AM
Excellent library, working very well and easy to implement in my CMS system under development..
by john_crocker on Mar 31, 2011 at 3:51 PM
Wow ! Replaced the need of GZipStream, vjslib & SharpZipLib in my project. Great job. Support to .net 2.0. Good code examples. Covering majority of needs like Zip in memory Stream, string...
by elaiyakumar on Mar 11, 2011 at 7:07 PM
Nice job!!! After pulling out almost all of my hair trying to use SharpZip, I switched to this. Got it done in no time and still have hair left. THANKS!!!!
by mdominik13 on Feb 8, 2011 at 6:30 AM
Now, this is one amazing piece of art. Very easy to use and also is well document. Kudos to all those involved.
by makaveli_0000 on Feb 3, 2011 at 7:49 PM
This library is great. It is especially useful now that XNA 4.0 no longer includes System.IO.Compression.
by EricCosky on Feb 2, 2011 at 9:20 PM
Very nice. All libraries on CodePlex should be as easy to use. Mad Props!
by cosmokenney on Jan 29, 2011 at 12:04 AM
Simply GENIUSSS!!!
by dndaj on Jan 5, 2011 at 9:23 AM
excellent stuff. And great documentation and support.
by nickcom on Nov 10, 2010 at 12:53 AM
Brilliant! Nice work. Documentation is excellent. This kind of functionality should be baked into the core of the .Net framework and SSIS.
by robc on Oct 27, 2010 at 7:43 PM
GOD BLESS YOU!!!!!!!!!! Amazing work, just amazing, i can use it in all my Powershell scripts ! YOU ROCK!
by ovidiuvisan on Oct 26, 2010 at 11:05 PM
I wrote in three hours what would have taken me + three days if had used other libraries. Excellent library. That is the way to code!
by e1pad on Oct 21, 2010 at 9:13 PM
A indispensable tool for every .NET developer! Thanks!
by rinaldin on Aug 20, 2010 at 9:55 AM
Thank you for making this free for everyone. I have used it in two applications now and it made my job very easy. Good documentation and self explanatory code. Couldn't be better.
by wrongwhale on Aug 4, 2010 at 9:14 PM
Good clear documentation. Versatile library.
by webooth on Jul 23, 2010 at 9:19 PM
the best in the market :).
by witiokz on Jul 23, 2010 at 2:33 PM
Bye bye SharpZipLib! Now THIS is an API!
by roufamatic on May 21, 2010 at 9:49 PM
Fantastic library. Easy to use, does what it needs to do, and great support from project Coordinator.
by jvossers on May 19, 2010 at 10:22 AM
Much easier to use than SharpZipLib. That's partially because the API is much better and partially because the documentation is much better.
by craigwagner on May 18, 2010 at 4:14 PM
It does exactly what it says on the tin! Used it for zipping up huge MySQL databases for backup. Works for files larger than 4GB, progress events are great. Knocked up a "Database Backup" tool for our product in a few hours. Use it!
by SimonAlfie on May 13, 2010 at 10:36 AM
It has a couple of bugs, especially with the UpdateEntry and UpdateFile methods. I reverted to 1.8.
by yourbuddypal on May 11, 2010 at 10:53 PM
dot net zip ,good
by lovelymangold on May 4, 2010 at 6:40 AM
Thanks so much for this great library. We appraciate it ! :)
by buckley on Apr 26, 2010 at 10:51 AM
THANK YOU THANK YOU THANK YOU. After struggling for a day with weird bugs dealing with MemoryStream and GZipStream, I switched to this library and had my problems solved in 30 minutes. You guys are my heroes!
by karstenj on Apr 15, 2010 at 8:38 AM
Great library for creating zip files in c#. Very fast & simple to implement.
by chrisroger on Apr 9, 2010 at 6:37 AM
After 5 minutes and 4 lines of code my requirement was done, how many times can you say that with an open source library that you had never used ???
by progresivo on Apr 8, 2010 at 10:04 PM
simple & quick library, perfect for my project! thanks!
by fastlink30 on Mar 22, 2010 at 1:42 PM
You da man! Saved me a tone of time and coding for my products. If you accept corporate contributions, please post a link somewhere or e-mail me with that information.
by rashadrivera on Mar 7, 2010 at 9:59 PM
I added the dll and I was zipping files in literally seconds. Exactly what I needed. Thanks!
by evesnight on Feb 23, 2010 at 6:00 AM
This is a great library! Poops all over SharpZipLib. The API is very well designed and extremely easy to use, I was able to do everything I needed in only a few lines and it just works!
by phaedrus30 on Feb 17, 2010 at 12:20 AM
Simply works. Thank you!
by Dulfer on Feb 9, 2010 at 12:31 PM
In only several hours I was able to write a small little application for my personal use! It worked great and the library was easy to use. I spent far more time evaluating other options than I did implementing the one that used DotNetZip!
by karlz on Feb 3, 2010 at 12:54 AM
So much easier to use than SharpZipLib. Six lines of code and my problem was gone.
by PJonDevelopment on Feb 2, 2010 at 10:56 PM
excellent project microsoft should learn from that
by johnnyxp64 on Jan 19, 2010 at 8:12 AM
Marvelous library - and fantastc support Cheeso deserves a lot of thanks. Thanks from me!!
by mlowne on Jan 10, 2010 at 7:52 PM
Much faster than 1.8 release. Great work. Thank you.
by hughng on Jan 8, 2010 at 10:12 PM
excelente recurso, falta aun un arreglo, ya que cuando se almacena de alguna ruta especifica, genera el archivo con todos los campos de carpetas dentro del zip que crea, la función FlattenFoldersOnExtract aun no funciona!
by OSCARDO on Sep 25, 2009 at 6:00 PM
And excellent open source project just got better! Loving the splitting feature!
by matt40k on Sep 11, 2009 at 10:45 PM