Ionic Zip Library v1.9.1.6
SortEntriesBeforeSaving Property
Whether to sort the ZipEntries before saving the file.
Declaration Syntax
Remarks
The default is false. If you have a large number of zip entries, the sort
alone can consume significant time.
Examples
CopyC#
using (var zip = new ZipFile()) { zip.AddFiles(filesToAdd); zip.SortEntriesBeforeSaving = true; zip.Save(name); }
CopyVB.NET
Using zip As New ZipFile zip.AddFiles(filesToAdd) zip.SortEntriesBeforeSaving = True zip.Save(name) End Using