Session Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Inheritance Hierarchy

System. . :: . .Object
  Microsoft.SPOT.Cryptoki..::..Session

Namespace:  Microsoft.SPOT.Cryptoki
Assembly:  Microsoft.SPOT.Security.PKCS11 (in Microsoft.SPOT.Security.PKCS11.dll)

Syntax

'Declaration
Public Class Session _
    Implements IDisposable
public class Session : IDisposable
public ref class Session : IDisposable
type Session =  
    class
        interface IDisposable
    end
public class Session implements IDisposable

The Session type exposes the following members.

Constructors

  Name Description
Public method Session

Top

Properties

  Name Description
Public property Handle

Top

Methods

  Name Description
Public method Dispose() () () ()
Protected method Dispose(Boolean)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize (Overrides Object. . :: . .Finalize() () () ().)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetSessionInfo
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitializePin
Public method Login
Public method Logout
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetPin
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SPOT.Cryptoki Namespace