Cannot find `ZipArchive` in the “System.IO.Compression” namespace

后端 未结 3 823
不思量自难忘°
不思量自难忘° 2021-01-07 19:12

My question is related to I didn't find "ZipFile" class in the "System.IO.Compression" namespace

But I have referenced the DLL\'s f

3条回答
  •  耶瑟儿~
    2021-01-07 19:40

    using (var zip = new ZipArchive(System.IO.File.OpenRead(zipFileName))) { ... }
    

提交回复
热议问题