ImageScanner.FromIdAsync(String) ImageScanner.FromIdAsync(String) ImageScanner.FromIdAsync(String) ImageScanner.FromIdAsync(String) ImageScanner.FromIdAsync(String) Method

Definition

Creates an instance of a ImageScanner object based on a scanners device information ID. This method is required for broker device enumeration.

public : static IAsyncOperation<ImageScanner> FromIdAsync(Platform::String deviceId)
static IAsyncOperation<ImageScanner> FromIdAsync(winrt::hstring deviceId) const;
public static IAsyncOperation<ImageScanner> FromIdAsync(String deviceId)
Public Shared Function FromIdAsync(deviceId As String) As IAsyncOperation(Of ImageScanner)
Windows.Devices.Scanners.ImageScanner.fromIdAsync(deviceId).done( /* Your success and error handlers */ );

Parameters

deviceId
String String String

The device information ID. See DeviceInformation.Id property.

Returns