Size in bytes of this object

Namespace:  Cryptware.NCryptoki
Assembly:  NCryptoki (in NCryptoki.dll)

Syntax

Visual Basic (Declaration)
Public ReadOnly Property Size As Integer
	Get
C#
public int Size { get; }
Visual C++
public:
virtual property int Size {
	int get () sealed;
}
JavaScript
function get_size();

Implements

ICryptokiObject..::..Size

Remarks

Cryptoki does not specify what the precise meaning of an object’s size is. Intuitively, it is some measure of how much token memory the object takes up. If an application deletes (say) a private object of size S, it might be reasonable to assume that the FreePrivateMemory property of the token’s TokenInfo structure increases by approximately S.

Exceptions

ExceptionCondition
Cryptware.NCryptoki..::..CryptokiExceptionCryptokiException if a native error occurs

See Also