Differences between Corrupted or protected using SevenZipSharp

Feb 23, 2016 at 8:19 PM
Edited Mar 3, 2016 at 2:58 PM

I'm currently using the class SevenZipExtractor to make .7z extraction. This code needs to do extractions of any 7z format archive, the problem is that this library generate the same exception if the file is password protected or corrupted and I need to be able to tell the differences. Any ideas what can be done in this case?

Any suggestions?