什么是在.NET中创建ZIP档案中的最佳/最简单的方法是什么? [英] What is the best/easiest way to create ZIP archive in .NET?
本文介绍了什么是在.NET中创建ZIP档案中的最佳/最简单的方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
哪种方法,你认为是最好的。
Which method do you think is the "best".
- 使用
System.IO.Packaging程序
命名空间? - 使用互操作的壳呢?
- 对于.NET第三方库?
- 在互操作开源托管的DLL?
- Use the
System.IO.Packaging
namespace? - Use interop with the Shell?
- Third party library for .NET?
- Interop with open source unmanaged DLL?
[我能目标框架3.5;最简单最好=设计,实施和维护。]
[I can target Framework 3.5; best = easiest to design, implement, and maintain.]
我最感兴趣的是,为什么你认为所选择的方法是最好的。
I am mostly interested in why you think the chosen approach is best.
推荐答案
我一直使用 SharpZipLib 一>
忘了部分原因:主要是因为它存在了很长一段时间。这是有据可查的,并有一个直观的API。再加上它是开源的,如果你到该类型的东西。
Forgot the why part: Mainly because its been around for a long time. It is well documented, and has an intuitive API. Plus it's open source if you're into that type of thing.
这篇关于什么是在.NET中创建ZIP档案中的最佳/最简单的方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文