Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is an alternate of ionic zip in C#?

Tags:

c#

windows

zip

I use Ionic.Zip to zip and unzip my data. But I find that Ionic.Zip is not capable of handling large file sizes (> 3GB).

So is there any third party tool that we can use to replace Ionic.Zip?

like image 316
Techy Avatar asked Jun 13 '12 04:06

Techy


People also ask

What is DotNetZip?

DotNetZip is a FAST, FREE class library and toolset for manipulating zip files. Use VB, C# or any . NET language to easily create, extract, or update zip files.


2 Answers

If you can use .NET Framework 4.5+, ZipArchive is now part of the BCL, as described by the "What's New in the .NET 4.5 Base Class Library" article.

Also, IMHO the 'de facto' third-party library for this is SharpZipLib from the SharpDevelop team.

like image 56
James Manning Avatar answered Oct 20 '22 03:10

James Manning


It can actually handle larger files.

For that you need to use property:

UseZip64WhenSaving = Zip64Option.Always
like image 29
user2393156 Avatar answered Oct 20 '22 03:10

user2393156