Extracting Compressed Files in C sharp

Recently I came across a requirement of extracting a compressed zip files AGAIN, & I recalled dealing with same requirement quite a long ago…. but couldn’t figure out what library I used then.

It (the chaos) strongly urged me to have an archive where I can place some of my findings as a Quick reference for myself and probably others too :) .

I used http://dotnetzip.codeplex.com/ as a reference. The Dll it uses is Ionic.Zip.

The code samples are very brief and provide a variety of ways to handle issues related with compressed files.

 
By Sarfraz Ahmed Khan Posted in .NET