Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where does Windows 8 keep Roaming App data files?

I'm going through the Windows 8 tutorial on managing app lifecycle and state and the tutorial goes through the code for creating roaming appdata for my app which allows me to keep data for my app across sessions - so if I closed (fully close) my app, the next time I run it that data can be loaded back.

Where does Windows actually keep this in file? I cannot locate it in C:\users\username\appData\roaming

like image 554
Arvin Avatar asked Feb 20 '23 05:02

Arvin


1 Answers

C:\Users\*user name*\AppData\Local\Packages\*Package Number*\RoamingState

It would be easier to simply debug your application and look at an instance of this to get the location:

Windows.Storage.ApplicationDataContainer roamingFolder = Windows.Storage.ApplicationData.Current.RoamingFolder;

or more exactly:

var path = Windows.Storage.ApplicationData.Current.RoamingFolder.Path
like image 168
N_A Avatar answered Mar 03 '23 05:03

N_A