Windows.​Devices.​Enumeration.​Pnp Windows.​Devices.​Enumeration.​Pnp Windows.​Devices.​Enumeration.​Pnp Namespace

Provides classes for enumerating a collection of Pnp device objects, and event handlers for monitoring changes to the objects in the collection asynchronously. The following are typical uses of the Windows.Devices.Enumeration.Pnp 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 .

Classes

PnpObject PnpObject PnpObject

Represents a PnP object. This class allows access to well-known properties of a PnP object as well as a property store of additional properties that are specified to be retrieved from the the PnP object.

PnpObjectCollection PnpObjectCollection PnpObjectCollection

Represents an iterable collection of Pnp device objects.

PnpObjectUpdate PnpObjectUpdate PnpObjectUpdate

Contains the updated properties of a PnpObject.

PnpObjectWatcher PnpObjectWatcher PnpObjectWatcher

Raises events to notify the client that a PnpObject has been added, updated, or removed from an enumerated collection of Pnp device objects in an incremental and asynchronous way.

Enums

PnpObjectType PnpObjectType PnpObjectType

Indicates the device type of a PnpObject.