Share via


Session Members

The following tables list the members exposed by the Session type.

Public Constructors

Name Description
Public Method Session Initializes a new instance of the Session class with the specified service provider and target mechanisms.

Public Properties

Name Description
Public Property Handle Gets the session handle in byte array format.

Public Methods

Name Description
Public Method Dispose Overloaded. Releases all resources used by the current instance of the Session class.
Public Method GetSessionInfo Gets the session information.
Public Method InitializePin Initializes the login pin.
Public Method Login Logs in to the session.
Public Method Logout Logs out of the session.
Public Method SetPin Sets a new pin for the login.

Protected Methods

Name Description
Protected Method Finalize Releases unmanaged resources used by the current instance of the Session class.

See Also

Reference

Session Class
Microsoft.SPOT.Cryptoki Namespace