Exemple #1
0
        private static StorageFolder GetStorageFolderForSpecialFolder(global::System.Environment.SpecialFolder folder)
        {
            string path = global::System.Environment.GetFolderPath(folder);
            var    t    = StorageFolder.GetFolderFromPathAsync(path);

            t.Wait();
            return(t.Result);
        }
Exemple #2
0
 /// <inheritdoc />
 public string GetFolderPath(global::System.Environment.SpecialFolder folder)
 {
     return(global::System.Environment.GetFolderPath(folder));
 }