Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Free compression library for C# which supports 7zip (LZMA) [closed]

I have a program (written in C#) that reads/writes its data directly (direct file access without server) to firebird database files. For a better exchange I want to (un)compress them on import/export for a better exchange over the internet without the need of an external program to (un)compress them.

I know #ziplib which supports Zip, GZip, Tar and BZip2.

What else free compression libraries for C# do you know? Is there a .NET library which supports LZMA so i can read/write ".7z" files?

like image 833
Xn0vv3r Avatar asked Jan 16 '09 10:01

Xn0vv3r


2 Answers

7-zip has a free source code, public domain C# SDK for the LZMA algorithm:

http://www.7-zip.org/sdk.html

like image 142
Sebastian Dietz Avatar answered Sep 23 '22 14:09

Sebastian Dietz


There is a good article written by Peter Bromberg:

7Zip (LZMA) In-Memory Compression with C#

Shows a simple C# SevenZip.Compression.Lzma.SevenZipHelper class to enable high-compression of in-memory objects with C#. Adds a new 7Zip format LZMA Cookie Compression class to the previously published CookieCompression utility.

like image 36
splattne Avatar answered Sep 21 '22 14:09

splattne