Compact Framework 的 Zip 库选项?
我的要求:
- 支持.NET Compact Framework 2.0 和 Windows Mobile 6.0 设备。
- 只需将内容解压到存储卡上的目录即可。 不需要创建 zip 文件。
- 必须能够在企业/商业软件中使用。
- 可以开源,但没有 GPL 或其他病毒许可证。
我看过 Xceed Zip for CF 库。 还有哪些其他选择?
My requirements:
- Support .NET Compact Framework 2.0 and Windows Mobile 6.0 devices.
- Only need to unzip the contents to a directory on a storage card. Creation of zip files is not required.
- Must be able to use in corporate/commercial software.
- Can be open source, but not have GPL or other viral license.
I've seen the Xceed Zip for CF library. What other options are there?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
这看起来对您来说可能是一个不错的选择:http://www.codeplex.com/DotNetZip。 它看起来很小,有源代码并且有一个非常开放的许可证(MS-PL)。
This looks like it may be a good option for you: http://www.codeplex.com/DotNetZip. It seems small, has source and has a very open license (MS-PL).
看起来您需要的是 OpenNETCF 基金会的 zlibCE。
您可以在这里获取它: http://opennetcf.com/FreeSoftware/zlibCE/ tabid/245/Default.aspx
它是 linux zlib 库的端口行政长官。 它的核心是一个本机 dll,但他们现在还提供一个 .NET 包装器以及所有源代码。
我之前在项目中使用过,效果还不错。
Looks like what you need is zlibCE from the OpenNETCF foundation.
You can get it here: http://opennetcf.com/FreeSoftware/zlibCE/tabid/245/Default.aspx
It's a port of the linux zlib library to CE. At it's core, it's a native dll, but they now also provide a .NET wrapper, along with all the source code.
I've used it in projects before and it performed quite well.
我使用 Resco MobileForms 工具包来实现多种功能:http://www.resco。 net/developer/mobileformstoolkit/overview.aspx
它包含一个很好的 ZIP 库。
I use the Resco MobileForms toolkit for a variety of functionality: http://www.resco.net/developer/mobileformstoolkit/overview.aspx
It includes a good ZIP library.
从 v1.7 开始,DotNetZip 发行版现在包含专门为 .NET Compact Framework 构建的版本,即 v2.0 或 v3.5。 http://www.codeplex.com/DotNetZip/Release/ProjectReleases.aspx。 大约有 70k DLL。 它可以压缩、解压缩、zip 编辑、密码、ZIP64、unicode、流等。
DotNetZip 是 100% 托管代码、开源且免费/免费使用。 它也非常简单和容易。
源发行版中包含一个示例应用程序,可解压缩到存储卡。
CF-Unzipper 应用程序 http://www.freeimagehosting.net/uploads/ce5ad6a964.png
As of v1.7, the DotNetZip distribution now includes a version built specifically for the .NET Compact Framework, either v2.0 or v3.5. http://www.codeplex.com/DotNetZip/Release/ProjectReleases.aspx. It is about ~70k DLL. It does zip, unzip, zip editing, passwords, ZIP64, unicode, streams, and more.
DotNetZip is 100% managed code, open source, and free/gratis to use. It's also very simple and easy.
There's a sample app included in the source distribution that unzips to a storage card.
CF-Unzipper app http://www.freeimagehosting.net/uploads/ce5ad6a964.png
看看#ziplib (www.icsharpcode.com)。 它是 GPL,但您可以在闭源商业应用程序中使用它。 他们在他们的页面上没有具体说明如何将其与 Compact Framework 一起使用,因此您必须自己进行测试(也就是说,它是纯 C#,没有任何外部依赖项,因此很有可能它会工作)。
Have a look at #ziplib (www.icsharpcode.com). It's GPL, but you can use it in closed-source, commercial applications. They don't say anything specifically on their page about using it with the Compact Framework, so you'd have to give it a test yourself (that said, it's pure C# without any external dependencies, so the chances are somewhat good that it will work).