SQLiteDatabase.Decrypt

From Xojo Documentation

Revision as of 15:53, 14 February 2013 by PLefebvre (talk | contribs) (Created page with '<ShowIf version=2013r1> {{MethodBox | name=Decrypt | owner=SQLiteDatabase | ownertype=class | scope=public | platform=all }} {{Description |text = Decrypts an encrypted datab…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!


Method

SQLiteDatabase.Decrypt()

Supported for all project types and targets.

Decrypts an encrypted database. You must be connected to the database in order to decrypt it.


Example

This example decrypts an encrypted database:

Dim db As New SQLiteDatabase
db.DatabaseFile = GetFolderItem("db.sqlite")
db.EncryptionKey = "howdy doody"
If db.Connect Then
db.Decrypt
Else
//handle error here
End If