App Data

App data refers to any persistent data that an app reads and writes “privately.” An app’s settings or a game’s high scores are an example of this type of data. App data normally does not get directly exposed to users, and one app cannot view such data from another app. Most importantly, when an app is uninstalled, all of its app data automatically gets deleted as well.

There are two types of app data: app settings and app files. Access to both of these mechanisms is available via the Windows.Storage.ApplicationData class.

Get Universal Windows® Apps with XAML and C# Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.