DotNetZip on codeplex:http://dotnetzip.codeplex.com/
Detailed can look at the source code ... Overall it feels better than sharpziplib. and DotNetZip supports vb,c# as well as any. NET language.
Pressure: (stolen from the CodePlex)
using(ZipFile zip =NewZipFile ()) { //Add this map file to the "Images" directory in the ZIP archive adds this PNG to the "Images" directory of the ZIP archiveZip. AddFile ("C:\\images\\personal\\7440-n49th.png","Images"); //Add the report to a different directory in the archive then adds the PDF file to the "files" directory of the ZIP archive and puts the ReadMe.txt in the root directoryZip. AddFile ("c:\\reports\\2008-regional-sales-report.pdf","Files"); Zip. AddFile ("ReadMe.txt"); //Save the zip file as Myzipfile.zipZip. Save ("Myzipfile.zip"); }
Easy decompression:
using New ZipFile ("myzipfile.zip")) {zip. Extractall ("c:\\myfolder", extractexistingfileaction.overwritesilently);}
That's it! What question all wood has, is not more convenient than sharpziplib!