如何使用Windows在C#中存储编程,在Windows 8中访问此路径“ AppData \\ Roaming \\ Microsoft \\ Windows \\ Recent”并从此路径“ AppData \\ Roaming \\ Microsoft \\ Windows \\ Recent”中获取文件
You can't access this location from a Windows Store app. These apps are running in a sandboxed environment and there's only a limited set of locations they can access. By default these are:
c:\\Program Files\\WindowsApps\\
, your app's subfolder only) c:\\Users\\Username\\AppData\\Local\\Packages\\
, your app's subfolder only) By requesting additional capabilities, you can access as well:
By using FileOpenPicker
or FolderPicker
you can also access any files or folders the user selects.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.