Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Building Apps for Windows Phone 8 Jump Start: (04) Files and Storage on Windows Phone 8
Dec 10, 2012 at 5:48 AMI have a question regarding the usage of WinRT functions for file access. You show us at 13:53 a method to load aynchronous a string from a file. If I try to use this code, Visual Studio says that the return type of this method must be void, Task or Task<T>. This would mean that I cannot get that easily information out of async marked methods.
And another question: For me it seems easier to use the above mentioned method to access files with WinRT. Is there any good reason to use the other version using ms-appdata:// or ms-appx:// instead? It seems more uncomfortable and insecure, if there is no included check for file existance.