in UWP there are files and permissions restrictions, so we can only acces files directly from few folders or we can use filepicker to access from anywhere on system. how can I use the files picked from filepicker and use them anytime again when the app runs ? tried to use them again by path but it gives permission error. I know about the "futureacceslist" but its limit is 1000 and also it will make the app slow if I am not wrong? . Is there a better way to do this ? or can we store storage files link somehow in local sqlite database?
相关问题
- Why Isn't My Windows 10 PC Waking Up after a S
- How to prevent windows from accessing and detectin
- Microsoft store certification fails due to DPI awa
- How does this JavaScript open Windows Settings in
- Uwp: Xaml Parse Error with Target Device Family De
相关文章
- Python has stopped working
- How to create a MediaClip from RenderTargetBitmap
- Clear Back Stack Navigation Windows 10
- How to overlay items in StackPanel or ListView?
- Where do Windows “Product ID” and “Device ID” valu
- C# UWP Toolkit DropShadowPanel inner shadow
- Xamarin Android Player Error when attempting to fi
- How can I use 100% of VRAM on a secondary GPU from
Considering this method..
This class..
And this variable
Just..
UPDATE
A bit late, but, yes the future access list will slow down your app in that it returns storagfile, storagefolder, or storeageitem objects. These run via the runtime broker which hits a huge performance barrier at about 400 objects regardless of the host capability
If you need to access lots of files, asking the user to select the parent folder and then storing that is probably a better solution (unless you want to store 1,000 individually-picked files from different locations). You can store
StorageFolder
s in the access list as well.I'm not sure why you think it will make your app slow, but the only real way to know if this will affect your performance is to try it and measure against your goals.