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

FlexCompress.IsFilePasswordValid

FlexCompress

Previous  Top  Next

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

 

[C#]
public bool IsFilePasswordValid(string fileName, string password);

 

[VB.NET]

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

 

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

 

 

 

        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Nov 22, 2024