C#的免费压缩库支持7zip(LZMA) [英] Free compression library for C# which supports 7zip (LZMA)
问题描述
我有一个程序(用C#编写),直接读取/写入其数据(无服务器的直接文件访问)到firebird数据库文件。为了更好的交换,我想(un)压缩他们在导入/导出为更好的互联网交换,而不需要一个外部程序(un)压缩他们。
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.
我知道 #ziplib 支持Zip,GZip,Tar和BZip2。
I know #ziplib which supports Zip, GZip, Tar and BZip2.
还有什么免费压缩库C#你知道吗?
是否有支持LZMA的.NET库,因此我可以读/写.7z文件?
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?
推荐答案
有一篇由Peter Bromberg撰写的好文章:
There is a good article written by Peter Bromberg:
7Zip(LZMA)C#内存压缩
显示一个简单的C#
SevenZip.Compression.Lzma.SevenZipHelper
类以启用高压缩
内存中的对象与C#。添加新的
7Zip格式LZMA Cookie压缩
类到以前发布的
CookieCompression实用程序。
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.
这篇关于C#的免费压缩库支持7zip(LZMA)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!