windows store app 8.1 file system access

柔情痞子 提交于 2019-12-24 22:08:08

问题


Can windows store apps only access "library" files and not other locations on the hard drives of PCs? Like if I had a D drive that was full of video media that I wanted the app to have access to, is there no way to get to that? I've been searching for a while now and can't find anything but "knownfolder" examples and documentation.


回答1:


In order to access files outside of the libraries and other specific locations, you'd need to use the FileOpenPicker or FolderPicker. You can find more information on File Access and Permissions for Windows Store apps at http://msdn.microsoft.com/en-us/library/windows/apps/Hh967755.aspx.



来源:https://stackoverflow.com/questions/23586675/windows-store-app-8-1-file-system-access

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