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. 回答1: Here is example from msdn. System.IO.Compression.ZipFile is made just for that: using System; using System.IO; using System.IO.Compression; namespace