Difference between revisions of "SQLiteDatabase.Decrypt"
From Xojo Documentation
m (→Example) |
|||
Line 14: | Line 14: | ||
<rbcode> | <rbcode> | ||
− | + | Var db As New SQLiteDatabase | |
− | db.DatabaseFile = | + | db.DatabaseFile = FolderItem.ShowOpenFileDialog("db.sqlite") |
db.EncryptionKey = "howdy+doody" | db.EncryptionKey = "howdy+doody" | ||
− | + | Try | |
+ | db.Connect Then | ||
db.Decrypt | db.Decrypt | ||
− | + | Catch error As DatabaseException | |
// handle error here | // handle error here | ||
− | End | + | End Try |
</rbcode> | </rbcode> |
Latest revision as of 23:29, 29 July 2019
Method
Decrypts an encrypted database. You must be connected to the database in order to decrypt it.
Example
This example decrypts an encrypted database: