Ionic.Zip library unable to extract .rar file C#

后端 未结 1 723
北荒
北荒 2020-12-21 08:15

I am trying to extract .rar file using .net zip library (Ionic.Zip.dll). I got error \"cannot read that as a zipfile\" while executing following code;

相关标签:
1条回答
  • 2020-12-21 08:38

    Well, I not found anywhere in description that DotNetZip can extract rar files. He can extract zip created with WinRAR but nowhere notice rar file can be extracted.

    DotNetZip - Zip and Unzip in C#, VB, any .NET language

    But, there is something interesting (link bellow) :

    SharpCompress - a fully native C# library for RAR, 7Zip, Zip, Tar, GZip, BZip2

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