Class SmartcardReader
Definition
- Assembly:
- Tizen.Network.Smartcard.dll
The class for Smartcard reader information. It allows applications to handle the reader information.
public class SmartcardReader : IDisposable
- Inheritance
-
objectSmartcardReader
- Implements
-
System.IDisposable
Properties
View SourceIsSecureElementPresent
The existence of a secure element.
Declaration
public bool IsSecureElementPresent { get; }
Property Value
Type | Description |
---|---|
bool |
Name
The name of the reader.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceCloseSessions()
Closes all the sessions opened on the given reader.
Declaration
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. |
Dispose()
Dispose
Declaration
public void Dispose()
~SmartcardReader()
SmartcardReader destructor.
Declaration
protected ~SmartcardReader()
OpenSession()
Connects to a secure element in the given reader.
Declaration
public SmartcardSession OpenSession()
Returns
Type | Description |
---|---|
SmartcardSession | The SmartcardSession object. |
Implements
System.IDisposable