Share via

Does modifying directory contents affect opened files (UWP)?

Mike 1 Reputation point
2020-10-17T20:24:03.197+00:00

I have a UWP application, which opens a directory using FolderPicker and reads / plays the files in this directory. It seems that if the directory is been modified (e.g. more files are copied into it) whilst the program is using it, the program exits. This is only a suspicion as no exception is caught (neither by my handlers nor by AppCenter), it just exits.

Is this a known behaviour?

Developer technologies | Universal Windows Platform (UWP)

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.