Hi @BitSmithy ,
Welcome to Microsoft Q&A!
In the CheckAccess document.
Determines whether the app has access to the specified storage item in the most recently used (MRU) list.
CheckAccess
only checks the permissions of the file in the MRU, not the file itself, so it cannot check if the file still exists.
If you use the Remove
method to remove the file in MRU list, then CheckAccess
will return false.
Windows.Storage.AccessCache.StorageApplicationPermissions.MostRecentlyUsedList.Remove(mruToken);
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.