Switched to .Net Standard (yet again...)

Changed every PCL call to WinRt
WIP on CompositeKey
This commit is contained in:
bg45
2017-09-23 09:48:31 -04:00
parent 9d78d59a15
commit 32e629231c
2 changed files with 23 additions and 18 deletions

View File

@@ -310,12 +310,13 @@ namespace ModernKeePassLibPCL.Serialization
{
#if ModernKeePassLibPCL
if(IsLocalFile())
return (FileSystem.Current.GetFileFromPathAsync(m_strUrl).Result != null);
//return (FileSystem.Current.GetFileFromPathAsync(m_strUrl).Result != null);
return StorageFile.GetFileFromPathAsync(m_strUrl).GetResults() != null;
#else
if(IsLocalFile()) return File.Exists(m_strUrl);
#endif
return true;
return true;
}
public bool IsLocalFile()