I am trying to build a Data Access Layer for accessing to my SQLite database from different threads. On one hand I have a Windows Background Task which synchronize different data received from a web service and on the other hand I have my application which also writes in the database.
I am looking for a way of locking and control different accesses. I have implemented a solution based on Mutex but I cannot create global mutexes due to System.Security.AccessControl is not supported by Windows 10. Any ideas?
Thank you very much,