KeyLimeTie Blog

.NET Zip Class (C#)

By Brian Pautsch – 11/5/2005 10:08:52 AM. Posted to Code Snippets.

A couple weeks ago, a colleague and I were in need of a class that could handle compressing and extracting files. It had to handle "zip" and "jar" files and needed to interface with a .NET application. There were several COM components available, but we wanted a managed code solution. We searched through the web and there were a few example of developers "trying" to get it to work, but each example had a problem or two. Then we came across an article in MSDN Magazine: Using the Zip Classes in the J# Class Libraries to Compress Files and Data with C# . It was exactly what we were looking for and we implemented it very easily. So I decided to take an hour or so to create a simple application that uses the zip class.

Download application

Zip Class - View the class code

Zip Class Implementation -
View the form code-behind

Comments

On 7/28/2006 mila said:
great work!! love it and appreciate it very much!

Leave a Comment

Name:
Email:
URL:
Comment:
Security Code:
Type Security Code:

Photos on Flickr

More Photos »

Search Blog


Get Email Updates

Like what you read here at KeyLimeTie? Sign up for our email list!

Subscribe