Class SmartcardReader

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 Smartcard reader information. It allows applications to handle the reader information.

C#
Copy
public class SmartcardReader : IDisposable
Inheritance
System.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
Boolean
API Level: 3
View Source

Name

The name of the reader.

Declaration
C#
Copy
public string Name { get; }
Property Value
Type Description
System.String
API Level: 3

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.

API Level: 3
View Source

Dispose()

Dispose

Declaration
C#
Copy
public void Dispose()
API Level: 3
View Source

Finalize()

SmartcardReader destructor.

Declaration
C#
Copy
protected void Finalize()
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.

API Level: 3

Implements

System.IDisposable