Dhaneel.Com
Technical & Miscellaneous Ramblings
-
compress files zip/unzip
Posted on July 27th, 2009 7 commentsI was looking for a library which can zip/unzip files then I found this one very easy to use.
To zip files you need to just do this
-
-
using (ZipFile zip = new ZipFile()
-
{
-
zip.AddFile("file.txt");
-
zip.Save("MyZipFile.zip");
-
}
-
This library has got lot lots of option which you can experiment and best thing is runtime library just 100kB. You can download the library from CodePlex DotNetzip.
-


