Hi,
Thanks for your contribution with an excellent SQLite package purely in C#.
Our team has made SQLITE_HAS_CODEC work with WINRT with the Cryptographic implementation available with the MONO Framework, The Database Encrypts well and Decrypts well as long as the data inside the table are only a few, in some cases only a few rows in the range of 1-50. More than that the read fails with no rows.
We saw AggregateException and saw this is thrown as part of the FileExists code which is specifically written for WINRT,
#if SQLITE_WINRT
public static bool FileExists(string path)
{
bool exists = true;
try
{
Task<StorageFile> fileTask = StorageFile.GetFileFromPathAsync(path).AsTask<StorageFile>();
fileTask.Wait();
}
catch (Exception e)
{
AggregateException ae = e as AggregateException;
if (ae != null && ae.InnerException is FileNotFoundException)
exists = false;
}
return exists;
}
#endif
Would like to know when this Exception gets thrown and as well as how to go about resolving this issue we are facing,
Thanks in advance for your help,
Best Regards,
Jay