Let me save you a LOT of pain:
DO NOT USE UWP.
You'll end up hating your life, probably missing all your deadlines, and feel as if the "platform" is fighting you, every time coming up with things like "But you should do it like this".
Here are a few "gotchas" that simply make this close to "I would rather develop software for Apple instead":
https://learn.microsoft.com/answers/questions/608/please-either-allow-systemio-all-over-hdd-or-drast.html
https://learn.microsoft.com/answers/questions/4027/uwp-cant-install-signed-application-non-ms-storeco.html
And as a bonus, especially for you, say you actually request broadSystemAccess (basically, access to all HDD).
Someone completely out of touch with reality at Microsoft, designed the following stupidity:
- When you request
broadSystemAccess
, your application, by default, DOES NOT have that access. - You need to make your app resilient to this change, and handle "Access Denied" requests. In such a case, you should point your user to open "File System Privacy Settings" (there is a rather simple way to do it)
- The user ends up in that settings window, and he'll toggle your app ON...
- ... at which point, Windows closes your application.
- The user needs to restart your application
The point 4. is simply beyond stupidity - it's the worst UI design flow anyone could come up with.