ConnectionProfile

The ConnectionProfile class manages local database information. You can use it to set the encryption key, which you must do before creating a local database.

ConnectionProfile cp = SampleAppDB.GetConnectionProfile();
cp.SetEncryptionKey("Your key");
cp.Save();