<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreAudio",
  "identifier" : "/documentation/CoreAudio/AudioHardwareDevice/modelUID",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Audio"
    ],
    "preciseIdentifier" : "s:9CoreAudio0B14HardwareDeviceC8modelUIDSSvp"
  },
  "title" : "modelUID"
}
-->

# modelUID

A String that contains a persistent identifier for the model of a device. The identifier
is unique such that the identifier from two devices are equal if and only if the two
devices are the exact same model from the same manufacturer. Further, the identifier
has to be the same no matter on what machine the device appears.

```
var modelUID: String { get throws }
```

---

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)