kMIDIPropertyConnectionUniqueID
The unique identifier of an external device attached to this connection.
Declaration
let kMIDIPropertyConnectionUniqueID: CFStringDiscussion
The value provided may be an integer. To indicate that a driver connects to multiple external objects, pass the array of big-endian SInt32 values as a CFData object.
The property is nonexistent or 0 if there’s no connection.