如何使用DOTNET框架4.0解压压缩文件,而无需使用第三方的dll [英] How to extract zip file using dotnet framework 4.0 without using third party dlls

查看:495
本文介绍了如何使用DOTNET框架4.0解压压缩文件,而无需使用第三方的dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在修复。我需要下载从网络位置,然后DECOM $ P $ zip文件PSS它在本地机器和使用这些文件。唯一的限制是,我不能使用任何第三方DLL。

I'm in a fix. I need to download a zip file from network location and then decompress it on local machine and use the files. The only constraint is that I cannot use any third party dll.

推荐答案

在.NET框架4.5现在有 System.IO.Com pression.ZipFile.ExtractToDirectory(字符串,字符串)方法。

In .NET framework 4.5 now there is System.IO.Compression.ZipFile.ExtractToDirectory(String, String) method.

这篇关于如何使用DOTNET框架4.0解压压缩文件,而无需使用第三方的dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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