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

后端 未结 8 1562
灰色年华
灰色年华 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:24

    Dave, very nice!! I didn't know that was in there.

    Now that I know what to look for, I was able to find an article with a small code sample on how to use it: http://weblogs.asp.net/jgalloway/archive/2007/10/25/creating-zip-archives-in-net-without-an-external-library-like-sharpziplib.aspx

    On a related note, I also found the DotNetZip project that looks extremely easy to use.

提交回复
热议问题