I'm getting a System.UnauthorizedAccessException when I try to create a sqlite
database file with the following code. Should I be using a different directory
to store the database file?
string DatabaseName = "UserData.db3";
string documents = System.Environment.GetFolderPath(
System.Environment.SpecialFolder.Personal);
string db = Path.Combine(documents, DatabaseName);
bool exists = File.Exists(db);
if (!exists)
{
SqliteConnection.CreateFile(db);
}
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid