开发者

7z format compression [duplicate]

This question already has answers here: 开发者_JAVA百科Closed 11 years ago.

Possible Duplicate:

How do I create 7-Zip archives with .NET?

I'm looking for ways to do compression and decompression in 7z format via code in VB.NET and C#. Is there any library or .Net code for this purpose?

I know there are GZipStream and DeflateStream in .Net but I want 7z format for better compression ratio.


How about LZMA SDK?

EDIT:

Thanks to dtb for mentioning

LZMA SDK contains only an implementation of the LZMA compression method, not classes for reading for writing 7z files

There is SevenZipSharp project that is open source wrapper for 7-zip to do this work.

Project Description

Managed 7-zip library written in C# that provides data (self-)extraction and compression (all 7-zip formats are supported). It wraps 7z.dll or any compatible one and makes use of LZMA SDK.


Use the official SDK :)


I belive 7zip provides an sdk which has a c# project in it.

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜