[This documentation is preliminary and is subject to change.]
Provides classes for enumerating devices.
The following are typical uses of the Windows.Devices.Enumeration API.
- Building a user interface for selecting the device to be used by an application. For instance, a voice chat application may use the API to present a list of microphones for the user to select from.
- Device discovery and notifications about devices for general application use.
- Getting device information for a device using a previously obtained DeviceInformation ID.
Members
The Windows.Devices.Enumeration namespace has these types of members:
Classes
The Windows.Devices.Enumeration namespace has these classes.
| Class | Description |
|---|---|
| DeviceInformation | Represents a device. |
| DeviceInformationCollection | Represents a collection of DeviceInformation objects. |
| DeviceInformationUpdate | Contains updated properties for a DeviceInformation object. |
| DeviceThumbnail | Represents the thumbnail image for a device. |
| DeviceWatcher | Enumerates devices dynamically, so that the app receives notifications if devices are added, removed, or changed after the initial enumeration is complete. |
| EnclosureLocation | Describes the physical location of a device in its enclosure. |
Enumerations
The Windows.Devices.Enumeration namespace has these enumerations.
| Enumeration | Description |
|---|---|
| DeviceClass | Indicates the type of devices that the user wants to enumerate. |
| DeviceWatcherStatus | Describes the state of a DeviceWatcher object. |
| Panel | Indicates the location of a panel on a computer. |
Requirements
|
Minimum supported client | Windows 8 Release Preview |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
Build date: 5/22/2012
