支持 7zip (LZMA) 的 C# 免费压缩库 [英] Free compression library for C# which supports 7zip (LZMA)
问题描述
我有一个程序(用 C# 编写)可以直接读取/写入其数据(无需服务器的直接文件访问)到 firebird 数据库文件.为了更好的交换,我想在导入/导出时对它们进行(解)压缩,以便通过 Internet 进行更好的交换,而无需外部程序来(解)压缩它们.
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:
展示一个简单的 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.
这篇关于支持 7zip (LZMA) 的 C# 免费压缩库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!