Solved

Unzip files in C#4.0

Posted on 2011-09-08
3
333 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

733 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