我们可以在Silverlight4.0中实现SharpZipLib吗?
发布于 2010-02-02 16:09:26
有一个SharpZipLib here的Silverlight实现。(注:使用GPLv2许可证)。
发布于 2010-02-02 16:22:25
我强烈建议您使用开源DotNetZip库,而不是SharpZipLib。DotNetZip是在Ms-PL下授权的,而且比SharpZipLib更容易使用。
例如,拉链就是这么简单:
using (ZipFile zip = new ZipFile())
{
zip.AddEntry("MyFileName.png", null, pngStream);
// Save to stream from SaveFileDialog
zip.Save(stream);
} https://stackoverflow.com/questions/2182313
复制相似问题