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…


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail

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).


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail


Print Share Comment Cite Upload Translate Updates
APA

Posts on LINQ to Fail | Sciencx (2012-09-24T00:00:00+00:00) How to check if a file exists in Windows 8. Retrieved from https://www.scien.cx/2012/09/24/how-to-check-if-a-file-exists-in-windows-8/

MLA
" » How to check if a file exists in Windows 8." Posts on LINQ to Fail | Sciencx - Monday September 24, 2012, https://www.scien.cx/2012/09/24/how-to-check-if-a-file-exists-in-windows-8/
HARVARD
Posts on LINQ to Fail | Sciencx Monday September 24, 2012 » How to check if a file exists in Windows 8., viewed ,<https://www.scien.cx/2012/09/24/how-to-check-if-a-file-exists-in-windows-8/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » How to check if a file exists in Windows 8. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2012/09/24/how-to-check-if-a-file-exists-in-windows-8/
CHICAGO
" » How to check if a file exists in Windows 8." Posts on LINQ to Fail | Sciencx - Accessed . https://www.scien.cx/2012/09/24/how-to-check-if-a-file-exists-in-windows-8/
IEEE
" » How to check if a file exists in Windows 8." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2012/09/24/how-to-check-if-a-file-exists-in-windows-8/. [Accessed: ]
rf:citation
» How to check if a file exists in Windows 8 | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2012/09/24/how-to-check-if-a-file-exists-in-windows-8/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.