Is it possible to access ProgramData folder from UWP without file picker?

依然范特西╮ 提交于 2020-07-16 10:36:12

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!