DECOM pressing与.NET 4.5密码保护的ZIP文件 [英] Decompressing password-protected ZIP files with .NET 4.5

查看:180
本文介绍了DECOM pressing与.NET 4.5密码保护的ZIP文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

微软引入了改进的 System.IO.Com pression 命名空间。即类 ZipArchive 和的ZipFile 。 但是,我还没有看到一个方法来使用本机.NET的ZIP文件处理密码保护的文件。有没有一种方法来实现这一目标? (我知道有pretty的好第三方zip文件库,这不是问题。)

Microsoft introduces improvements for ZIP file handling in .NET 4.5 in the System.IO.Compression namespace. Namely the classes ZipArchive and ZipFile. However, I have not yet seen a way to use native .NET ZIP file handling for password protected files. Is there a way to achieve this? (I am aware that there are pretty good 3rd party zip file libraries, that is not the question.)

推荐答案

不幸的是没有。他们是.NET Framework 4.5中没有支持密码保护的zip文件。在这种情况下,你必须切换到著名的第三方库之一。

Unfortunately not. Their is no support within the .Net Framework 4.5 for password protected zip files. In this case you have to switch to one of the well known 3rd party libraries.

这篇关于DECOM pressing与.NET 4.5密码保护的ZIP文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆