<!--
{
  "availability" : [
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreHID",
  "identifier" : "/documentation/CoreHID/HIDVirtualDevice/Properties/productID",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core HID"
    ],
    "preciseIdentifier" : "s:7CoreHID16HIDVirtualDeviceC10PropertiesV9productIDs6UInt32VSgvp"
  },
  "title" : "productID"
}
-->

# productID

The product ID for the device.

```
let productID: UInt32?
```

## Discussion

The product ID combines with [`vendorID`](/documentation/CoreHID/HIDVirtualDevice/Properties/vendorID) to specify the exact product. Without knowing the vendor, product ID is useless.
Look for vendor specific documentation for more details on the assigned product IDs for their products.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)