Answered by:
Is the token from FutureAccessList still useful after the application restarted?

Question
-
If I use FutureAccessList and insert a folder there(the user already picked a folder via FolderPicker), then I store the token in Storage::Current->LocalSetting, so after the application restarted, whether the token is still useful for getting the folder? Thanks.
Monday, July 22, 2013 11:57 AM
Answers
-
Same idea. Both lists do basically the same thing.
For your case MostRecentlyUsedList seems to fit better.
--Rob
- Marked as answer by wd0623 Tuesday, July 23, 2013 6:13 AM
Tuesday, July 23, 2013 1:44 AMModerator
All replies
-
Yes. Persisting the access is the point of the FutureAccessList.
--Rob
Monday, July 22, 2013 12:49 PMModerator -
Yes. Persisting the access is the point of the FutureAccessList.
--Rob
Thanks, Rob. How about the MostRecentlyUsedList ? In my scenario , the app will create some log files in local folder, when the user wants to collect those files, the client will ask the user to pick a folder and then copy all the files in the local folder to the selected folder. Since currently the user has to pick a folder every time, I want to add a check box to give the user a choice - "Use previous folder" . Then the user just pick a folder once. So which one the best choice ? The FutureAccessList or the MostRecentLyUsedList ? From MSDN, it seems both of them match my scenario.
Regards.
Dong
Tuesday, July 23, 2013 1:23 AM -
Same idea. Both lists do basically the same thing.
For your case MostRecentlyUsedList seems to fit better.
--Rob
- Marked as answer by wd0623 Tuesday, July 23, 2013 6:13 AM
Tuesday, July 23, 2013 1:44 AMModerator -
Thanks, Rob !Tuesday, July 23, 2013 6:18 AM
-
Hello Rob
Do you know if the FutureAccessList is preserved even after an app is updated by the Windows store ?
=> Can we store tokens in Package LocalState, then re-use them after an app update ?
Thank you.
Jerome
Wednesday, December 11, 2013 7:37 PM