How to use System.IO.Compression to read/write ZIP files?

后端 未结 8 1582
灰色年华
灰色年华 2020-12-08 08:13

I know there are libraries out there for working with ZIP files. And, you can alternatively use the functionality built into Windows for working ZIP files.

But, I\'m

8条回答
  •  半阙折子戏
    2020-12-08 08:30

    An older thread, I know, but I'd like to point out that .NET 4.5 added extensive improvements to system.io.compression. It can now manipulate .zip files quite well, even down to exposing individual files within the zip as streams capable or read and write without the step of extracting and compressing the files.

提交回复
热议问题