public static string FileReadAllText(string file) { Task <string> task = StorageUtility.AsyncReadTextAsync(file); task.Wait(); return(task.Result); }
public unsafe static long $Invoke12(long instance, long *args) { return(GCHandledObjects.ObjectToGCHandle(StorageUtility.AsyncReadTextAsync(Marshal.PtrToStringUni(*(IntPtr *)args)))); }