Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us



Previous  Top  Next

Indicates whether the password is valid for specified encrypted file in archive.


public bool IsFilePasswordValid(string fileName, string password);



Public Function IsFilePasswordValid(ByVal fileName As String, ByVal password As String) As Boolean




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 ArchiveItem class.




        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Jun 16, 2024