public unsafe static long $Invoke11(long instance, long *args) { return(GCHandledObjects.ObjectToGCHandle(StorageUtility.AsyncMoveAndReplaceFile((StorageFile)GCHandledObjects.GCHandleToObject(*args), (StorageFile)GCHandledObjects.GCHandleToObject(args[1])))); }
public static void MoveAndReplaceFile(StorageFile replacer, StorageFile fileToReplace) { Task task = StorageUtility.AsyncMoveAndReplaceFile(replacer, fileToReplace); task.Wait(); }