Ionic Zip Library v1.9.1.6
CheckZipPassword Method (zipFileName, password)
Verify the password on a zip file.
Declaration Syntax
Return Value
a bool indicating whether the password matches.
Remarks
Keep in mind that passwords in zipfiles are applied to zip entries, not to the entire zip file. So testing a zipfile for a particular password doesn't work in the general case. On the other hand, it's often the case that a single password will be used on all entries in a zip file. This method works for that case.
There is no way to check a password without doing the decryption. So this code decrypts and extracts the given zipfile into Null