How to Unzip all .Zip file from Folder using C# 4.0 and without using any OpenSource Dll?

前端 未结 6 1452
礼貌的吻别
礼貌的吻别 2020-12-09 03:02

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 .Ne

6条回答
  •  遥遥无期
    2020-12-09 04:02

    .NET 3.5 has a DeflateStream for this. You must create structs for the information on the directories and such, but PKWare has published this information. I have written an unzip utility and it is not particularly onerous once you create the structs for it.

提交回复
热议问题