---
title: modelUID
framework: Core Audio
role: symbol
role_heading: Instance Property
platforms: [macOS 15.0+]
path: coreaudio/audiohardwaredevice/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.

## Declaration

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