Discuss this help topic in SecureBlackbox Forum

TElPKCS11SessionInfo.Close

TElPKCS11SessionInfo     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Closes the session.

Declaration

[C#/Java]
    bool Close();

[VB.NET]
    Function Close() As Boolean

[Pascal]
    function Close : boolean;

[C++]
    bool Close();

[PHP]
    bool Close()

Return value

    Returns True if the session has been successfully closed and False if any error has occured.

Description

    Call this method to close current session to the token.
    Note, that this method must not be used if you access the hardware device via TElPKCS11CertStorage or TElSSHPKCS11KeyStorage classes. Please use the CloseSession() method of the respective storage object to close the session properly, and release all the resources allocated for it.

Discuss this help topic in SecureBlackbox Forum