Solved

Unzip files in C#4.0

Posted on 2011-09-08
3
324 Views
Last Modified: 2012-05-12
Are there methods or libraries provided in C#4.0 to unzip a file and save it on hard disk without using any third party component?
0
Comment
Question by:priyanka_kothari
  • 2
3 Comments
 

Author Comment

by:priyanka_kothari
ID: 36505751
0
 
LVL 22

Accepted Solution

by:
pivar earned 500 total points
ID: 36505772
Hi,

.NET 4 does unzip gzip format but not zip format. AFAIK, you have to use a 3rd party component. I have used open source SharpZip: http://www.icsharpcode.net/OpenSource/SharpZipLib/ 

/peter
0
 
LVL 22

Expert Comment

by:pivar
ID: 36505816
One always learn something new at EE :-) ZipPackage was new to me.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question