Windows.Devices.Enumeration namespace

Applies to Windows and Windows Phone

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.

ClassDescription
DeviceAccessChangedEventArgs Provides data for the AccessChanged event.
DeviceAccessInformation Contains the information about access to a device.
DeviceConnectionChangeTriggerDetails Provides information about the device that caused this trigger to fire.
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.

EnumerationDescription
DeviceAccessStatus Indicates the status of the access to a device.
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

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Devices.Enumeration
Windows::Devices::Enumeration [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft