Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.23 KB

deviceinformation_id.md

File metadata and controls

25 lines (17 loc) · 1.23 KB
-api-id -api-type
P:Windows.Devices.Enumeration.DeviceInformation.Id
winrt property

Windows.Devices.Enumeration.DeviceInformation.Id

-description

A string representing the identity of the device.

-property-value

A string representing the identity of the device.

-remarks

This ID can be used to activate device functionality using the CreateFromIdAsync methods on classes that implement device functionality.

By default, calling DeviceInformation.FindAllAsync returns a collection of DeviceInformation objects that describe device interfaces (rather than devices). Consequently, the value of DeviceInformation.Id for those objects is a device interface identifier (rather than a device identifier). There are overloads of DeviceInformation.FindAllAsync to which you can pass a DeviceInformationKind to control whether the returned DeviceInformation objects represent devices, device interfaces, or other kinds of information.

-examples

-see-also