Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us
TZipForge.IsFilePasswordValid
TZipForge
Top 


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.



        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Oct 11, 2024 
        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Oct 11, 2024