---
title: configurationDescriptor
framework: iousbhost
role: symbol
role_heading: Instance Property
path: iousbhost/iousbhostdevice/configurationdescriptor
---

# configurationDescriptor

The currently selected configuration descriptor.

## Declaration

```swift
var configurationDescriptor: UnsafePointer<IOUSBConfigurationDescriptor>? { get }
```

## Return Value

Return Value A pointer to the device’s configuration descriptor, or nil if no matching descriptor returns.

## Discussion

Discussion note: The IOUSBHostDevice performs memory management. Don’t free the descriptor, and assume it is valid as long as the IOUSBHostDevice hasn’t called destroy().
