UniDAC

TLiteUtils.EncryptDatabase Method

Used for setting a new password or changing an existing password.

Class

TLiteUtils

Syntax

class procedure EncryptDatabase(Connection: TCustomDAConnection; NewKey: string);

Parameters
Connection
A pointer for TCustomDAConnection.
NewKey
A new password value.

Remarks

The database connection should be established before using this method. EncryptionKey value should be set when database is already encrypted. Encoding function will be supported by SQLite library.

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback