Access to the Library Folder

DavyHomesDavyHomes Member ✭✭

Hello, i need help saving to the Library Folder on Xamarin.iOS.
I have a Database wich is stored in a database.db file which i want to save in the Library Folder
of my App so the User can't access it. But i get a Access Denied Exception and don't know how to handle it.

System.UnauthorizedAccessException: Access to the path '/var/mobile/Containers/Data/Application/7DA49819-96AA-4B6C-8786-C692DE94F817/Library/Database/test.db' is denied.

Kind Regards,
David

Best Answer

Answers

Sign In or Register to comment.