Is there a library to unzip .Z files using VB.NET?

后端 未结 2 2046
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-13 12:21

I need to unzip a list of .Z files which will be kept in a folder using Visual Basic.NET. For example, consider that there is a folder like C:\\FilesToBeUnzipped

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-13 12:33

    How about SevenZipSharp?

    It's a managed wrapper around the 7-Zip compression/decompression engine that is released under the LGPL. Although the code is written in C#, all of the functions provided by the library are fully accessible in your VB.NET code.

    If you're a do-it-yourselfer, check out the 7-Zip SDK.

    I see SharpZipLib and DotNetZip recommended a lot, but I am not sure if they support .Z archives.
    I know that 7-Zip does, not to mention it's one of my favorite open source apps.

提交回复
热议问题