DeviceServicingDetails.DeviceId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the DeviceInformation.ID of the device the task is targeting. The background task can provide this to the FromIdAsync
method of the appropriate device access class to open the device. For example, call UsbDevice.FromIdAsync in the Windows.Devices.Usb namespace to open a USB device.
public:
property Platform::String ^ DeviceId { Platform::String ^ get(); };
winrt::hstring DeviceId();
public string DeviceId { get; }
var string = deviceServicingDetails.deviceId;
Public ReadOnly Property DeviceId As String
Property Value
The deviceId parameter value from the originating RequestAsync call.