Windows Dev Center

SmartCard class

Represents info about a smart card.

Syntax


var smartCard = Windows.Devices.SmartCards.SmartCardProvisioning.smartCard;

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]

Members

The SmartCard class has these types of members:

Methods

The SmartCard class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
ConnectAsync Asynchronous operation that, when complete, returns the SmartCardConnection object representing the connection.
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.
GetStatusAsync Returns the smart card's status.

 

Properties

The SmartCard class has these properties.

PropertyAccess typeDescription

Reader

Read-onlyGets info about the smart card reader into which the smart card is inserted.

 

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Devices.SmartCards
Windows::Devices::SmartCards [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Devices.SmartCards
Windows::Devices::SmartCards [C++]

Metadata

Windows.winmd

See also

Object

 

 

Show:
© 2015 Microsoft