get product key windows 8.1 code example Example: how to get current product key windows 10 wmic path softwarelicensingservice get OA3xOriginalProductKey