The app will then have access to it even if the app is terminated between the two use of it.<\/strong>
\n[csharp]
\nvar folder = await StorageApplicationPermissions
\n .FutureAccessList.GetFolderAsync(Token);<\/p>\nvar fileToCopy = await StorageFile
\n .GetFileFromApplicationUriAsync(new Uri("ms-appx:\/\/\/Assets\/Logo.png"));
\nawait fileToCopy.CopyAsync(folder, "Logo.png", NameCollisionOption.ReplaceExisting);<\/p>\n
[\/csharp]<\/p>\n
The list is cleared if the app is uninstalled or if you call the clear method on it. The MaximumItemsAllowed property of the FutureAccessList give you … the maximum number of item you can store in the list. At this time it seems to be 1000.<\/strong><\/p>\nFinally, you can also use the MostRecentlyUsedList collection in the same namespace to store the files\/folder used the most in your application.<\/p>\n","protected":false},"excerpt":{"rendered":"
In a Metro Win8’s style app you have full access to the local, roaming and temp folder of the app. The app can also access the libraries(documents, videos, pictures, …) if the correct capabilities are…<\/p>\n","protected":false},"author":3,"featured_media":1232,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[35],"tags":[],"_links":{"self":[{"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/posts\/1224"}],"collection":[{"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/comments?post=1224"}],"version-history":[{"count":12,"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/posts\/1224\/revisions"}],"predecessor-version":[{"id":1237,"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/posts\/1224\/revisions\/1237"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/media\/1232"}],"wp:attachment":[{"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/media?parent=1224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/categories?post=1224"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/tags?post=1224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}