Ionic Zip Library v1.9.1.6
FixZipDirectory Method (zipFileName)
Rewrite the directory within a zipfile.
Declaration Syntax
Parameters
- zipFileName (String)
- The filename to of the zip file to fix.
Remarks
In cases of data error, the directory in a zip file can get out of synch with the entries in the zip file. This method attempts to fix the zip file if this has occurred.
This can take a long time for large zip files.
This won't work if the zip file uses a non-standard code page - neither IBM437 nor UTF-8.
This method is not supported in the Reduced or Compact Framework versions of DotNetZip.
Developers using COM can use the ComHelper.FixZipDirectory(String) method.