How to check if a file exists in Windows 8

Sometimes things are simple, sometimes they aren’t when you think they should be. One such thing in Windows 8 development is checking if a file exists…
In a Windows 8 app (be it C# or JavaScript) you work with the StorageFolder. Since we a…

Sometimes things are simple, sometimes they aren’t when you think they should be. One such thing in Windows 8 development is checking if a file exists… In a Windows 8 app (be it C# or JavaScript) you work with the StorageFolder. Since we are sandboxed and don’t really have file-system access we don’t have the System.IO namespace as we’re use to meaning we have an entirely new set of APIs for reading a writing files (although it’s nice that they are built around being asynchronous).
Print Share Comment Cite Upload Translate
CITATION GOES HERE CITATION GOES HERE
Select a language: