How to Unzip all .Zip file from Folder using C# 4.0 and without using any OpenSource Dll?
I have a folder containing .ZIP files . Now, I want to Extract the ZIP Files to specific folders using C#, but without using any external assembly or the .Net Framework 4.5. I have searched, but not found any solution for unpacking *.zip files using Framework 4.0 or below. I tried GZipStream, but it only supports .gz and not .zip files. Denys Denysenko Here is example from msdn . System.IO.Compression.ZipFile is made just for that: using System; using System.IO; using System.IO.Compression; namespace ConsoleApplication { class Program { static void Main(string[] args) { string startPath = @"c: