Tom
Tom

Reputation: 6707

Where to store data files in WinStore app (win32 Project Centennial)

I am porting my native Win32 app to Windows 10 Store with Desktop App Convertor.

What is the most recommended place to store local data files, it seems %APPDATA% works, but is it most recommended place for user data in Win10 Store Apps?

Is this %appdata% virtualized and cleaned automatically if user uninstall app from Win Store?

Upvotes: 0

Views: 156

Answers (2)

Tom
Tom

Reputation: 6707

%LOCALAPPDATA% is new requirement to be compatible with store

Upvotes: 0

cristallo
cristallo

Reputation: 2089

If the data has to be saved per Windows user (every windows user has its own data) then it is the right place

The saved data will not be cleaned up when the user uninstall the app

Upvotes: 1

Related Questions