Unlock

Unlocks the vault.

Unlock the vault before changing the its properties or storing anything in it. If the incorrect password or salt is used, this method throws an exception. If the number of unsuccessful unlock attempts exceeds the retry limit, the vault is deleted.

Syntax

public void Unlock(string sPassword, string sSalt)

Parameters

Returns

If the incorrect password or salt is used, a DataVaultException is thrown this with the reason INVALID_PASSWORD.

Examples