Check integrity of compressed file

Feb 18, 2010 at 2:18 AM

Hi,

 

May I know whether there is a function or method to check the integrity of the compress file?

The only method I found was "SevenZipExtractor.Check", but there is no return value or anything to say the file is OK or NOK.

 

Thanks

Coordinator
Feb 18, 2010 at 12:49 PM

Check() will throw an exception if your archive is invalid. I think I will catch any exceptions in the method code and return true or false in the next release