SmartCardReader SmartCardReader SmartCardReader SmartCardReader SmartCardReader Class

Definition

Represents info about a smart card reader.

public : sealed class SmartCardReader : ISmartCardReader
struct winrt::Windows::Devices::SmartCards::SmartCardReader : ISmartCardReader
public sealed class SmartCardReader : ISmartCardReader
Public NotInheritable Class SmartCardReader Implements ISmartCardReader
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

DeviceId DeviceId DeviceId DeviceId DeviceId

Gets the smart card reader's device ID.

Kind Kind Kind Kind Kind

Gets the smart card reader's type.

Name Name Name Name Name

Gets the smart card reader's device name.

Methods

FindAllCardsAsync() FindAllCardsAsync() FindAllCardsAsync() FindAllCardsAsync() FindAllCardsAsync()

Returns a list of info about all smart cards that are connected to the smart card reader.

FromIdAsync(String) FromIdAsync(String) FromIdAsync(String) FromIdAsync(String) FromIdAsync(String)

Returns a smart card reader that matches the specified device ID.

GetDeviceSelector() GetDeviceSelector() GetDeviceSelector() GetDeviceSelector() GetDeviceSelector()

Returns an Advanced Query Syntax (AQS) string representing all smart card readers connected to the device. This string is passed to the FindAllAsync method to enumerate the given set of smart card readers.

GetDeviceSelector(SmartCardReaderKind) GetDeviceSelector(SmartCardReaderKind) GetDeviceSelector(SmartCardReaderKind) GetDeviceSelector(SmartCardReaderKind) GetDeviceSelector(SmartCardReaderKind)

Returns an Advanced Query Syntax (AQS) string representing a set of a specific type of smart card readers connected to the device. This string is passed to the FindAllAsync method to enumerate the given set of smart card readers.

GetStatusAsync() GetStatusAsync() GetStatusAsync() GetStatusAsync() GetStatusAsync()

Returns the smart card reader's status.

Events

CardAdded CardAdded CardAdded CardAdded CardAdded

Occurs when a smart card is inserted into the smart card reader or tapped on an NFC reader.

CardRemoved CardRemoved CardRemoved CardRemoved CardRemoved

Occurs when a smart card is taken out of the smart card reader.

See Also