Ionic Zip Library v1.9.1.6
CheckZip Method (zipFileName)
Checks a zip file to see if its directory is consistent.
Declaration Syntax
Parameters
- zipFileName (String)
- The filename to of the zip file to check.
Return Value
true if the named zip file checks OK. Otherwise, false.
Remarks
In cases of data error, the directory within a zip file can get out of synch with the entries in the zip file. This method checks the given zip file and returns true if this has occurred.
This method may take a long time to run for large zip files.
This method is not supported in the Reduced or Compact Framework versions of DotNetZip.
Developers using COM can use the ComHelper.CheckZip(String) method.