ConfigurationManager and AppSettings in universal (UWP) app : <p>I would like to store an API key in a configuration file without checking it into source control, and read the data in my UWP app.</p>

<p>A common solution is to store the key in .config file (such as <code>app.config</code> or <code>web.config</code>) and access it like so:</p>

<pre><code>var apiKey = ConfigurationManager.AppSettings.Get("apiKey");
</code></pre>

<p>I'm working on a Universal Windows (UWP) app and can't access the System.Configuration namespace that holds <code>ConfigurationManager</code>.</p>

<p>How can I access AppSettings in UWP app?
Alternatively, what's the best way to access configuration data in an UWP app?</p>
