Вопрос

We have an original zip library which uses the SharpZipLib and .NET 2.0. We need to research what is now possible in .NET 4.5 using System.IO.Compression and System.IO.Compression.ZipArchive.

Should we use .NET 4.5 libraries or use a 3rd party open source library? Also, we need to be able to zip/unzip files larger than 4GB. Samples, blogs, any help is welcomed.

Thank you

Это было полезно?

Решение 2

4GB is the maximum addressible size for a 32-bit pointer, hence it will not work for larger file. But you can try Zip64 which will work for larger files. This post might help you.

Hope this will help!

Thanks Suresh

Другие советы

3rd party. Use DotNetZip. It supports the Zip64 format.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top