-api-id | -api-type | -api-device-family-note |
---|---|---|
M:Windows.Devices.PointOfService.MagneticStripeReader.FromIdAsync(System.String) |
winrt method |
xbox |
Creates a MagneticStripeReader object from DeviceInformation.Id.
The DeviceInformation.Id that identifies a specific magnetic stripe reader, which can be retrieved from the DeviceId property.
The magnetic stripe reader specified by the unique device identifier. Returns a null object in the following cases:
- The specific device is not found.
- Access denied to the existing device. The user can deny access to a device, which is not treated as an exception.