Class SmartcardReader

Definition

Namespace:
Tizen.Network.Smartcard
Assembly:
Tizen.Network.Smartcard.dll

The class for Smartcard reader information. It allows applications to handle the reader information.

C#
Copy
public class SmartcardReader : IDisposable
Inheritance
object
SmartcardReader
Implements
System.IDisposable

Properties

View Source

IsSecureElementPresent

The existence of a secure element.

Declaration
C#
Copy
public bool IsSecureElementPresent { get; }
Property Value
Type Description
bool
View Source

Name

The name of the reader.

Declaration
C#
Copy
public string Name { get; }
Property Value
Type Description
string

Methods

View Source

CloseSessions()

Closes all the sessions opened on the given reader.

Declaration
C#
Copy
public void CloseSessions()
Exceptions
Type Condition
System.NotSupportedException

Thrown when the Smartcard is not supported.

System.InvalidOperationException

Thrown when the method failed due to an invalid operation.

View Source

Dispose()

Dispose

Declaration
C#
Copy
public void Dispose()
View Source

~SmartcardReader()

SmartcardReader destructor.

Declaration
C#
Copy
protected ~SmartcardReader()
View Source

OpenSession()

Connects to a secure element in the given reader.

Declaration
C#
Copy
public SmartcardSession OpenSession()
Returns
Type Description
SmartcardSession

The SmartcardSession object.

Implements

System.IDisposable