我想访问内部内存中的下载文件夹中的下载文件。我尝试了C:\Data\Users\Public\Downloads\,结果未经授权。如何访问windows phone 8.1中的内部存储器。
您可以使用文件或文件夹选择器
FileOpenPicker picker= new FileOpenPicker();
openPicker.SuggestedStartLocation = PickerLocationId.Downloads;
StorageFile file = await piker.PickSingleFileAsync();
或
FolderPicker piker= new FolderPicker();
piker.SuggestedStartLocation = PickerLocationId.Downloads;
piker.PickFolderAndContinue();