public static bool FileExists(string path) { if (path == null) { return(false); } path = StorageUtility.ConvertPathSeparators(path); Task <bool> task = StorageUtility.FileExistsAsync(path); task.Wait(); return(task.Result); }
public unsafe static long $Invoke26(long instance, long *args) { return(GCHandledObjects.ObjectToGCHandle(StorageUtility.FileExistsAsync(Marshal.PtrToStringUni(*(IntPtr *)args)))); }