ServiceDevice.GetDeviceSelector | getDeviceSelector method
The type of service to identify.
The AQS string.
To access the device services, you must declare the device service in the capabilities section of the app manifest file. For a list of the GUIDs representing the device services, see Windows.Devices.Portable.
The Enumerating Common Devices tutorial explains how to use selector strings to discover available devices.
The Portable Device Services Sample demonstrates how to access the device service once you have discovered it.
Examples of device services are the Media Transfer Protocol (MTP) device services that allow access to device status, contacts, calendar, tasks, and ringtones on a device. For more information, see MTP Device Services for Windows.
Note Access to devices service using this API is only available to Windows Store device apps given privileged access to a device by the device manufacturer. For more information about Windows Store device apps, see Windows 8 Device Experience: Windows Store device apps.
Minimum supported client
Minimum supported server
|Windows Server 2012|
Minimum supported phone
- Windows 8 Device Experience: Windows Store device apps
- Portable Device Services Sample
- Enumerating Common Devices