问题
Can anyone share your ideas of accessing the custom paths like program data folder in the C drive from UWP application??
I am getting an access denied while accessing this path. Any special capabilities that I have to add to the AppManifest.
Basically I need to access this folder from the a KIOSK where.i have a specific file which is to be reused for KIOSK mode in UWP.
回答1:
Your only hope is broadFileSystemAccess. Also, this answer could be useful.
回答2:
If you want to carry data of a smaller amount, you can use the System Environment Variable. You can set and get the value added in the Environmental variable from KIOSK mode.
来源:https://stackoverflow.com/questions/61258240/is-it-possible-to-access-programdata-folder-from-uwp-without-file-picker