开源压缩库。NET? [英] Open-source zip library for .NET?
问题描述
有谁知道一个好的开源荏苒库.NET的?
Does anyone know of a good open-source zipping library for .NET?
推荐答案
对于有关内部GZIP实施意见和其他职位,他们的没有的相同的GZip不会创建所需的归档标题!;它只是为压缩和解一文件或流是有用的。
Regarding the comments and other posts about the internal gzip implementation, they are not the same! GZip does not create the header required for archiving; it is only useful for "zipping" one file or stream.
正确的ZIP压缩文件包含一个标题,列出所有的COM pressed文件,凡在COM pressed数据他们来了,因此,你需要的东西,使一个头。这意味着SharpZipLib,一是很多商业版本或者使用外部使用.NET绑定像7zip的东西。
Proper zip archives contain a header that list all compressed files and where in the compressed data they come and therefore you need something that makes a header. That means SharpZipLib, one of the many commercial versions or using something external with .NET bindings like 7zip.
刚上offchance有人想这样说:但我看到。广州
文件在Linux中所有的时间 - 他们只是单个文件和名为.tar.gz
也不例外 - 焦油存档文件。该。广州
是归档COM pressed。
Just on the offchance somebody wants to say this: "But I see .gz
files in Linux all the time!" - they're just single files and .tar.gz
is no exception - tar is the archive file. The .gz
is that archive compressed.
这篇关于开源压缩库。NET?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!