title: Trying to get Hard Drive Serial Number into a SQL Server via UWP app
body: <p>I'm a relatively new Developer building my first app.</p>
  
  <p>Right now I'm in the process of developing a UWP app and I am needing to get the Hard Drive Serial number from the PC from the Views (OnNavigatedTo), then after a few more fields are filled out, to then save all values to a SQL Server.</p>
  
  <p>What I have discovered up to this point:</p>
  
  <ul>
  <li>Grabbing some values like Hard Drive SN are not so easy with UWP.</li>
  <li>I don't seem to have access to Registry HKLM via UWP</li>
  <li>I can grab it very easily with PowerShell, and write it to a JSON or XML file. which I plan to do with a Service Account when PC is imaged.</li>
  <li>I Don't know where to put the file where the App can see it.</li>
  <li>Writing to Sql Server can only be done by creating a webservice and making HTTP / JSON calls via App. (I have this part setup but have not started accessing it via app yet)</li>
  </ul>
  
  <p>So the part I really need help with I guess, is Where to Put JSON/XML file that App will be able to see and read from.  Unless of course, someone knows of another way to get Hard Drive SN into a UWP app.</p>
  
  <p>Thanks for Any Help</p>