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 example, a voice chat application may present a list of microphones or webcams for the user to select from, or a photo import application may present a list of removable storage devices for the user to import photos from.
- Device discovery and notifications about devices for apps that use them, like Windows Store device apps.
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 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
Build date: 12/4/2012