ApplicationSession Class
Namespace: Yubico.YubiAbstract base class for sessions with a YubiKey. This class is used
to wrap the IYubiKeyConnection
and provide a way of
interacting with the connection that is more convenient for most
users.
public abstract class ApplicationSession
Constructors
Name | Description |
---|---|
Application |
Initializes a new instance of the Application |
Properties
Name | Description |
---|---|
Application | The specific YubiKey application to connect to. |
Connection | The object that represents the connection to the YubiKey. Most applications will ignore this, but it can be used to call Commands directly. |
Key |
Gets the parameters used for establishing a Secure Channel Protocol (SCP) connection. |
Logger | The logger instance used for logging information. |
Yubi |
The YubiKey device to establish a session with. |
Methods
Name | Description |
---|---|
Dispose() | When the ApplicationSession object goes out of scope, this method is called. It will close the session. The most important function of closing a session is to "un-authenticate" the management key and "un-verify" the PIN. |
Dispose(bool) | |
Get |