I’m looking for a package to use in my project to compress some XML files. I usually use WinRAR to compress files, and I think you can do this using the 7-Zip project and this can be included in a .NET project.
This is a similar Stack Overflow question, 7-Zip (7za.dll) .NET wrapper
and the The Code Project example is C# (.NET) Interface for 7-Zip Archive DLLs.
I particularly want something simple to use with a good compression ratio. The example provided only extracts files, and I don’t particularly have the time to implement and test the compression.
(GZipStream isn’t good enough, it compresses my 10 MB file to 9 MB, and WinRAR compresses it to 0.5 MB.)
So, I’m after a library or package (I don’t care if it costs) which I can include in my project which allows me to easily compress and decompress files that has a good compression ratio and is easy to include and use.
After looking through a variety of options I have found SevenZipSharp the best and easiest way to get generate RAR files from my application.