SmartCard
SmartCard
SmartCard
SmartCard
Class
Definition
Represents info about a smart card.
public : sealed class SmartCard : ISmartCard, ISmartCardConnectpublic sealed class SmartCard : ISmartCard, ISmartCardConnectPublic NotInheritable Class SmartCard Implements ISmartCard, ISmartCardConnect// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Properties
Reader Reader Reader Reader
Gets info about the smart card reader into which the smart card is inserted.
public : SmartCardReader Reader { get; }public SmartCardReader Reader { get; }Public ReadOnly Property Reader As SmartCardReader// You can use this property in JavaScript.
Info about the smart card reader.
- See Also
Methods
ConnectAsync() ConnectAsync() ConnectAsync() ConnectAsync()
Establishes a connection to the smart card and returns a SmartCardConnection object representing the connection.
public : IAsyncOperation<SmartCardConnection> ConnectAsync()public IAsyncOperation<SmartCardConnection> ConnectAsync()Public Function ConnectAsync() As IAsyncOperation( Of SmartCardConnection )// You can use this method in JavaScript.
Returns
IAsyncOperation<SmartCardConnection>
IAsyncOperation<SmartCardConnection>
IAsyncOperation<SmartCardConnection>
IAsyncOperation<SmartCardConnection>
Asynchronous operation that, when complete, returns the SmartCardConnection object representing the connection.
- See Also
GetAnswerToResetAsync() GetAnswerToResetAsync() GetAnswerToResetAsync() GetAnswerToResetAsync()
Returns the smart card's Answer to Reset (ATR), a standard series of bytes that contains info about the smart card's characteristics, behaviors, and state.
public : IAsyncOperation<IBuffer> GetAnswerToResetAsync()public IAsyncOperation<IBuffer> GetAnswerToResetAsync()Public Function GetAnswerToResetAsync() As IAsyncOperation( Of IBuffer )// You can use this method in JavaScript.
Returns
The smart card's ATR byte set.
- See Also
GetStatusAsync() GetStatusAsync() GetStatusAsync() GetStatusAsync()
Returns the smart card's status.
public : IAsyncOperation<SmartCardStatus> GetStatusAsync()public IAsyncOperation<SmartCardStatus> GetStatusAsync()Public Function GetStatusAsync() As IAsyncOperation( Of SmartCardStatus )// You can use this method in JavaScript.
Returns
IAsyncOperation<SmartCardStatus>
IAsyncOperation<SmartCardStatus>
IAsyncOperation<SmartCardStatus>
IAsyncOperation<SmartCardStatus>
One of the SmartCardStatus enumeration values, representing the smart card's status.
- See Also