While making a lab on window 8 app dev. I could not load all images needed. So inorder for the share part to work with a sharing imag I need to check if the image file is availeble. The project is a windows grid app using XAML and C# In the past I used
Using System.IO
... lost of code
privat void share()
....
if (File.exist(filename)
{
add file to share
}
If i try this in my window8 project. The File class is not found.
I search the internet but could not find a code example that checkes the existance in a windowsstore app in C#
Michiel