简体   繁体   English

zip lib (zlib, bzip2) 和 mono 支持

[英]zip lib (zlib, bzip2) and mono support

Can you advise me zip lib witch support zib and bzip2 algorithm你能告诉我 zip lib 女巫支持 zib 和 bzip2 算法吗

My requirements:我的要求:

  1. Fully .net managed code完全 .net 托管代码
  2. Free自由的
  3. Popular受欢迎的
  4. Can be used with mono可与 mono 配合使用

Thanks for all.谢谢大家。

Check out SharpZipLib .查看SharpZipLib

From the FAQ :常见问题解答

What formats does SharpZipLib support? SharpZipLib 支持哪些格式?

Sharpzip supports Zip files using both stored and deflate compression methods and also supports old (PKZIP 2.0) style and AES encryption, tar with GNU long filename extensions, gzip, zlib and raw deflate, as well as BZip2. Sharpzip 支持使用存储和 deflate 压缩方法的 Zip 文件,还支持旧 (PKZIP 2.0) 样式和 AES 加密、具有 GNU 长文件扩展名的 tar、gzip、zlib 和原始 deflate,以及 BZip2。

Zip64 is supported while Deflate64 is not yet supported. Zip64 受支持,但 Deflate64 尚不支持。 AES is supported for encryption and decryption except for the ZipInputStream class (use ZipFile with an input stream until this is completed). AES 支持加密和解密,但 ZipInputStream class 除外(使用 ZipFile 和输入 stream 直到完成)。

Can I use SharpZipLib in my commercial application?我可以在我的商业应用程序中使用 SharpZipLib 吗?

Yes you can, there is an exception in the licensing terms that allows linking #Zip with any application.是的,您可以,许可条款中有一个例外,允许将#Zip 与任何应用程序链接。 The source code to #Zip is however still GPLed and so any changes to the source code you make must be made available to everyone.但是,#Zip 的源代码仍然是 GPL 的,因此您对源代码所做的任何更改都必须提供给所有人。

I've created SharpCompress to be a consistent API for many format types (bzip2, gzip, zip, rar, etc.) and is completely free (MS-PL).我已经创建了SharpCompress ,使其成为许多格式类型(bzip2、gzip、zip、rar 等)的一致 API,并且完全免费(MS-PL)。 Let me know any needs/changes/suggestions.让我知道任何需求/更改/建议。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM