Class to process ZIP or CAB files

G

Gaetan

A summary search in MSDN did not produce anything.

Is there a class in .NET which allows management of ZIP or CAB files? Add/modify/remove
files in a specified CAB or ZIP file. I could always call an external process but I rather
do the ZIP/CAB file management from within my C# program.
 
N

Nicholas Paldino [.NET/C# MVP]

Gaetan,

There is nothing in .NET 1.1 and before. You will have to use a third
party library (I think there is something galled SharpLib or something of
that nature which has been recommended a number of times).

For .NET 2.0, you can use the classes in the System.IO.Compression
namespace to zip/unzip zip archives.

For cab files, there is still no support, but I believe there are APIs
that you can use to access them. You should be able to call these through
the P/Invoke layer.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top