ZipFile.TestArchive Method (Boolean, TestStrategy, ZipTestResultHandler)

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

ZipFile.TestArchive Method (Boolean, TestStrategy, ZipTestResultHandler)

Test an archive for integrity/validity

public bool TestArchive(
   bool testData,
   TestStrategy strategy,
   ZipTestResultHandler resultHandler
);

Parameters

testData
Perform low level data Crc check
strategy
The TestStrategy to apply.
resultHandler
The ZipTestResultHandler handler to call during testing.

Return Value

true if all tests pass, false otherwise

See Also

ZipFile Class | ICSharpCode.SharpZipLib.Zip Namespace | ZipFile.TestArchive Overload List