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

# uniqueID

A unique ID for the device.

```
let uniqueID: String?
```

## Discussion

Use `uniqueID` to facilitate driver matching, or client matching using [`HIDDeviceManager`](/documentation/CoreHID/HIDDeviceManager).

---

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)