I’m writing an window form similar to 7-Zip, my problem is in the extraction part, I don’t know how to check if the archive I want to extract is password protected or not.
Any idea?
I’m writing an window form similar to 7-Zip, my problem is in the extraction
Share
I’ve got the solution: just check the extractor before extracting the archive:
Doing it this way the
fileExtractor.Check()will befalse, if the archive requires a password, and you’re not providing the password for it or the password is not correct.