how to get the windows 10 product key from cmd code example
Example 1: get windows product key cmd
wmic path softwarelicensingservice get OA3xOriginalProductKey (do this in cmd, as administrator, Windows/system32)
Example 2: how to get current product key windows 10
wmic path softwarelicensingservice get OA3xOriginalProductKey