I am handling a Unity project using SQLite. When I open an encrypted database, the following error message shows up:
EntryPointNotFoundException: sqlite3_key Mono.Data.Sqlite.SQLite3.SetPassword (System.Byte[] passwordBytes) Mono.Data.Sqlite.SqliteConnection.Open () SQLiteHandler.Start () (at Assets/Script/SQLiteHandler.cs:18)
Here is my connection code, neither putting the password into connection string nor using SetPassword work.
connString = string.Format("Data Source={0};Version=3;Password=testing123",Application.dataPath+"/demodb.db");
using (conn = new SqliteConnection (connString)) {
conn.Open ();
//do something
conn.Close ();
}
conn.connhas been well declared, here is just a portion of my code.