File is encrypted or is not a database sqlite c#

Once I encrypt the .db file from DB Browser, i am unable to read .db file from uwp application.

I am getting error like “file is encrypted or is not a database”.

Note : I am using “Sqlite.net-plc” for connect SQLite DB to UWP application.

If I use SQLCipher utility then will it be integrate with “Sqlite.net-plc” or any other way ?

Hello @Govind_Singh_Rawat

To confirm, are you using the commercial edition of SQLCipher for Windows UAP? Are you changing any of the runtime settings via PRAGMA commands? What version of SQLCipher was used within your version of DB Browser?

No, I am not using the commercial edition of SQLCipher for UWP application.

Using Sqlite.net-plc , i have tried to pass key at run time but didn’t work.

I have also tried Sqlite.net-plc with SQLCipher but it did not work.

Do you have any other idea to encrypt the database file and use it by UWP application.

OR

We have only oprtion to encrypt the data of database file and use it by application ?

Hello @Govind_Singh_Rawat

If you are unable to resolve the issue, we sell a commercial solution for the Windows UAP platform here.