Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Purpose
The Windows.Devices.Enumeration and Windows.Devices.Enumeration.Pnp namespaces enable you to enumerate devices. The following are typical reasons to enumerate devices:
- Selecting the device to be used by an application. For example, a voice chat application may use the API to present a list of microphones or webcams for the user to select from, or a photo import app may use the API to present a list of removable storage devices for the user to select from.
- Device discovery and notifications about devices, for apps that use them, such as Windows Store device app.
In this section
Topic | Description |
---|---|
Here we show you how to do a one-time enumeration of commonly used devices using FindAllAsync. |
|
How to get notifications if devices are added, removed, or changed |
This tutorial shows you how to enumerate devices dynamically. Then, your app can receive notification if devices are added or removed, or if device properties change. |
Developer audience
Developers of Windows Store apps
Related topics
Roadmap for Windows Runtime apps using C# or Visual Basic