How to extract zip file contents into a folder in .NET 4.5

前端 未结 1 613
礼貌的吻别
礼貌的吻别 2020-12-22 12:44

The following question\'s answer seems to outline how to extract files using the System.IO.Commpression.ZipFile.ExtractToDirectory method invocation. \"ZipFile\" doesn\'t s

相关标签:
1条回答
  • 2020-12-22 12:57

    You will need to add a reference to the System.IO.Compression.FileSystem assembly.

    Every library class has an MSDN page. This is the one for ZipFile.

    Notice the specification of the namespace and the assembly in the top section.

    0 讨论(0)
提交回复
热议问题