Class SmartcardSession
Definition
- Namespace:
- Tizen.Network.Smartcard
- Assembly:
- Tizen.Network.Smartcard.dll
- API Level:
- 3
- Privilege Level:
- public
- Privilege:
- http://tizen.org/privilege/secureelement
The class for the Smartcard session information. It allows applications to handle the session information.
C#Copypublic class SmartcardSession : IDisposable
- Inheritance
-
SmartcardSession
Properties
Declaration
C#Copypublic byte[] Atr { get; }
Property Value
Type | Description |
---|---|
Byte[] |
API Level: 3
Declaration
C#Copypublic bool IsClosed { get; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: 3
Declaration
C#Copypublic SmartcardReader Reader { get; }
Property Value
Type | Description |
---|---|
SmartcardReader |
API Level: 3
Methods
Declaration
C#Copypublic void Close()
API Level: 3
Declaration
C#Copypublic void CloseChannels()
API Level: 3
Declaration
C#Copypublic void Dispose()
API Level: 3
Declaration
C#Copyprotected void Finalize()
View Source
OpenBasicChannel(Byte[], Byte)
Gets an access to the basic channel, as defined in the ISO/IEC 7816-4 specification (the one that has number 0).
Declaration
C#Copypublic SmartcardChannel OpenBasicChannel(byte[] aid, byte p2)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | aid | The byte array containing the Application ID(AID) to be selected on the given channel. |
Byte | p2 | P2 byte of the SELECT command if executed. |
Returns
Type | Description |
---|---|
SmartcardChannel | The SmartcardChannel object for the basic channel. |
API Level: 3
View Source
OpenLogicalChannel(Byte[], Byte)
Open a logical channel with the secure element, selecting the Applet represented by the given application ID (AID).
Declaration
C#Copypublic SmartcardChannel OpenLogicalChannel(byte[] aid, byte p2)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | aid | The byte array containing the Application ID(AID) to be selected on the given channel. |
Byte | p2 | P2 byte of the SELECT command if executed. |
Returns
Type | Description |
---|---|
SmartcardChannel | The SmartcardChannel object for the logical channel. |