---
title: kMIDIPropertyUniqueID
framework: coremidi
role: symbol
role_heading: Global Variable
path: coremidi/kmidipropertyuniqueid
---

# kMIDIPropertyUniqueID

The unique identifier of a device, entity, or, endpoint.

## Declaration

```swift
let kMIDIPropertyUniqueID: CFString
```

## Discussion

Discussion The system assigns unique IDs to all objects. You may set this property on virtual endpoints; however, doing so may fail if the ID isn’t unique. This property value is an integer.

## See Also

### Identification

- [kMIDIPropertyName](coremidi/kmidipropertyname.md)
- [kMIDIPropertyModel](coremidi/kmidipropertymodel.md)
- [kMIDIPropertyManufacturer](coremidi/kmidipropertymanufacturer.md)
- [kMIDIPropertyDeviceID](coremidi/kmidipropertydeviceid.md)
