title: Where do Windows "Product ID" and "Device ID" values come from? Are they useful for Licensing/Identification? How can they be accessed in code?
body: <p><img src="https://i.stack.imgur.com/slayq.png" alt="Screenshot of Windows 10 Settings -&gt; System -&gt; About"></p>
  
  <p>As you can see, it has 2 "Hardware-Identity" values that could be very useful in applications like C# for license validating. Is it possible to find these values/compute them manually?</p>
  
  <p>Is it possible it's stored in Registry and is it only for Windows 10?<br>
  This is windows Version 1709 Build 16299.15.</p>