Example #1
0
    public static void FileWriteText(string path, string text)
    {
        path = StorageUtility.ConvertPathSeparators(path);
        Task <bool> task = StorageUtility.AsyncFileWriteText(path, text);

        task.Wait();
    }
Example #2
0
 public unsafe static long $Invoke7(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(StorageUtility.AsyncFileWriteText(Marshal.PtrToStringUni(*(IntPtr *)args), Marshal.PtrToStringUni(*(IntPtr *)(args + 1)))));
 }