Alex Rivera | Logout

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

Asked 2010-08-09T06:26:10.787
16

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.

Edit
Report

1 Answer

3

The .NET framework itself does not (currently) have official support for ZIP files. There are a couple of high-quality third-party free libraries available, and the J# runtime supports it, as others have noted.

I recommend the third-party solution, but if you absolutely can't do that, then there is one other trick: ZipPackage, which is part of WPF. It sort-of supports ZIP files (augmented with extra metadata), and works well enough for reading most ZIP files.

answered 2010-08-09T10:09:29.750

Your Answer