---
title: uniqueID
framework: corehid
role: symbol
role_heading: Instance Property
path: corehid/hiddeviceclient/uniqueid
---

# uniqueID

A unique ID for the device, if there is one.

## Declaration

```swift
var uniqueID: String? { get }
```

## Discussion

Discussion This ID is software based, and isn’t associated with the device itself. It is typically set to help facilitate driver or client matching.

## See Also

### Get device information

- [descriptor](corehid/hiddeviceclient/descriptor.md)
- [deviceUsages](corehid/hiddeviceclient/deviceusages.md)
- [isBuiltIn](corehid/hiddeviceclient/isbuiltin.md)
- [localizationCode](corehid/hiddeviceclient/localizationcode.md)
- [locationID](corehid/hiddeviceclient/locationid.md)
- [manufacturer](corehid/hiddeviceclient/manufacturer.md)
- [modelNumber](corehid/hiddeviceclient/modelnumber.md)
- [primaryUsage](corehid/hiddeviceclient/primaryusage.md)
- [product](corehid/hiddeviceclient/product.md)
- [productID](corehid/hiddeviceclient/productid.md)
- [serialNumber](corehid/hiddeviceclient/serialnumber.md)
- [transport](corehid/hiddeviceclient/transport.md)
- [vendorID](corehid/hiddeviceclient/vendorid.md)
- [versionNumber](corehid/hiddeviceclient/versionnumber.md)
- [elements](corehid/hiddeviceclient/elements.md)
