getting product key and version info of windows using cmd code example
Example: get windows product key cmd
wmic path softwarelicensingservice get OA3xOriginalProductKey (do this in cmd, as administrator, Windows/system32)
wmic path softwarelicensingservice get OA3xOriginalProductKey (do this in cmd, as administrator, Windows/system32)