Open bouwe77 opened 5 years ago
I'll assume for the moment that your project is okay with .NET Standard 2.0, which means you can use SQLitePCLRaw 2.x. If you need to stay with SQLitePCLRaw 1.x, the instructions are different, and more difficult.
At a high level (with certain details omitted), the steps look like this:
In other words, using a custom sqlite native library requires you to do some of the same stuff that the SQLitePCLRaw "bundles" would normally do for you. If you need to do this in a cross-platform manner, things get quite a bit more complicated.
If you give more specifics, I can talk you through the details.
Thank you for your detailed answer! 👍 :)
We are buidling a WPF application with .NET Framework 4.7.2 which will be installed on Windows 10 desktops.
Does this change anything on the steps you gave?
We are considering using the official implementation of SQLite Encryption Extension (SEE): https://www.sqlite.org/see/doc/release/www/index.wiki.
At the moment we are using sqlite-net-pcl and would like to keep using that.
So my question is how to do this?
If I understand the SEE documentation correctly you have to build the sqlite3.dll yourself and that's all. But can we use that DLL instead of the one that is used when using sqlite-net-pcl without encryption?
I was not able to find documentation on this.
Thanks, Bouwe