Indicates whether the password is valid for specified encrypted file in archive.
function IsFilePasswordValid(FileName: String; Password: String);
Description
Use IsFilePasswordValid to determine whether the password is valid for specified file in archive.
The FileName parameter specifies file name being tested.
The Password parameter is a password to check.
Note: If the file is not encrypted then any password string is valid. To determine whether the file is encrypted use FindFirst method and check Encrypted field of TZFArchiveItem record.
|
|