IDongle Interface Reference

A security device. More...

import "_encxcom_encx.idl";

Inheritance diagram for IDongle:

List of all members.

Public Member Functions

HRESULT Encrypt ([in] BYTE *pData,[in] LONG nSize)
 Encrypt a memory block in-situ.
HRESULT Decrypt ([in] BYTE *pData,[in] LONG nSize)
 Decrypt a memory block in-situ.
HRESULT EncryptArray ([in, out] VARIANT *data)
 Encrypt a safearray in-situ.
HRESULT DecryptArray ([in, out] VARIANT *data)
 Decrypt a safearray in-situ.

Properties

DongleStateState [get]
 Obtain the current status of the security device.
BSTR * DeviceName [get]
 Obtain a name identifying the security device. Suitable for display to end-users.
LONG * SerialNumber [get]
 Serial number of the dongle.


Detailed Description

A security device.

Ensures that the application is only used on licensed computers.

Definition at line 129 of file _encxcom_encx.idl.


Member Function Documentation

HRESULT IDongle::Encrypt ( [in] BYTE *  pData,
[in] LONG  nSize 
)

Encrypt a memory block in-situ.

HRESULT IDongle::Decrypt ( [in] BYTE *  pData,
[in] LONG  nSize 
)

Decrypt a memory block in-situ.

HRESULT IDongle::EncryptArray ( [in, out] VARIANT *  data  ) 

Encrypt a safearray in-situ.

HRESULT IDongle::DecryptArray ( [in, out] VARIANT *  data  ) 

Decrypt a safearray in-situ.


Property Documentation

DongleState * IDongle::State [get]

Obtain the current status of the security device.

BSTR* IDongle::DeviceName [get]

Obtain a name identifying the security device. Suitable for display to end-users.

LONG* IDongle::SerialNumber [get]

Serial number of the dongle.