Esempio n. 1
0
    public static StorageFolder GetFolderFromPath(string path)
    {
        path = StorageUtility.ConvertPathSeparators(path);
        Task <StorageFolder> task = StorageUtility.AsyncGetFolderFromPath(path);

        task.Wait();
        return(task.Result);
    }
Esempio n. 2
0
 public unsafe static long $Invoke10(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(StorageUtility.AsyncGetFolderFromPath(Marshal.PtrToStringUni(*(IntPtr *)args))));
 }