Alternatives to DeflateStream

S

Smithers

IIRC, we can use only System.IO.Compression.InflateStream to uncompress
files compressed with System.IO Compression.DeflateStream.

If that is in fact true, what are some alternatives you might recommend?

I'm writing a Console app that, amongst other things compresses files. I
want to be able to uncompress the files using WinZip and other similar and
generally available compression/uncompression utilities.

I have seen and used 7-Zip, but I'd prefer to have more control over the
compression process (and not simply call an external exe).

Thanks.
 
J

Jon Skeet [C# MVP]

IIRC, we can use only System.IO.Compression.InflateStream to uncompress
files compressed with System.IO Compression.DeflateStream.

If that is in fact true, what are some alternatives you might recommend?

I'm writing a Console app that, amongst other things compresses files. I
want to be able to uncompress the files using WinZip and other similar and
generally available compression/uncompression utilities.

I have seen and used 7-Zip, but I'd prefer to have more control over the
compression process (and not simply call an external exe).

You can use #ZipLib, which is widely used:

http://www.icsharpcode.net/OpenSource/SharpZipLib/

Jon
 

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