public static string[] FileReadLines(string path) { path = StorageUtility.ConvertPathSeparators(path); Task <IEnumerable <string> > task = StorageUtility.AsyncFileReadLines(path); task.Wait(); return(task.Result.Cast <string>().ToArray <string>()); }
public unsafe static long $Invoke5(long instance, long *args) { return(GCHandledObjects.ObjectToGCHandle(StorageUtility.AsyncFileReadLines(Marshal.PtrToStringUni(*(IntPtr *)args)))); }