zip lib (zlib, bzip2) and mono support

允我心安 提交于 2020-01-24 15:36:04

问题


Can you advise me zip lib witch support zib and bzip2 algorithm

My requirements:

  1. Fully .net managed code
  2. Free
  3. Popular
  4. Can be used with mono

Thanks for all.


回答1:


Check out SharpZipLib.

From the FAQ:

What formats does SharpZipLib support?

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.

Zip64 is supported while Deflate64 is not yet supported. AES is supported for encryption and decryption except for the ZipInputStream class (use ZipFile with an input stream until this is completed).

Can I use SharpZipLib in my commercial application?

Yes you can, there is an exception in the licensing terms that allows linking #Zip with any application. 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.




回答2:


I've created SharpCompress to be a consistent API for many format types (bzip2, gzip, zip, rar, etc.) and is completely free (MS-PL). Let me know any needs/changes/suggestions.



来源:https://stackoverflow.com/questions/6341517/zip-lib-zlib-bzip2-and-mono-support

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!