Hello,
Welcome to our Microsoft Q&A platform!
Accessing the registry in UWP is more difficult. But by comparison, it is more common to use LocalSettings
, here is the document.
Windows.Storage.ApplicationDataContainer localSettings =
Windows.Storage.ApplicationData.Current.LocalSettings;
// set
localSettings.Values["exampleSetting"] = "Hello Windows";
// get
Object value = localSettings.Values["exampleSetting"];
You can store user settings this way (you can also provide a default value when you first read the settings).
Thanks.