CheckFilePassword Method

Verifies whether a particular file password is correct.

Syntax

public bool CheckFilePassword(string fileName, string password);
Public Function CheckFilePassword(ByVal FileName As String, ByVal Password As String) As Boolean

Remarks

This method verifies whether the specified Password matches the one used to encrypt the file or alternate stream specified by FileName. If the password is correct, this method returns true; otherwise it returns false.

The value passed for FileName must be a vault-local absolute path.

Please refer to the Encryption topic for more information.

Note: This method can only be called when Active is true.

Copyright (c) 2022 Callback Technologies, Inc. - All rights reserved.
CBFS Vault 2020 .NET Edition - Version 20.0 [Build 8347]