Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to extract zip file using dotnet framework 4.0 without using third party dlls [closed]

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.

like image 915
Apurva Saxena Avatar asked Aug 09 '10 06:08

Apurva Saxena


People also ask

How do I add a system IO compression reference?

Just go to References and add "System. IO. Compression.


1 Answers

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

like image 92
Ivan Ičin Avatar answered Sep 21 '22 02:09

Ivan Ičin