PlanetPress Capture Library
TPenStore Class Reference

This object is used to access and query the Pen Store located on the remote License Server. More...

List of all members.

Public Member Functions

WordBool Validate (const WideString SerialNumber, TPenFlags Flags)
 Validates a pen serial number and verifies that the pen is activated.

Public Attributes

IPen ItemByID
 Returns the pen whose serial number is SerialNumber.
TCaptureStatus ActivationStatus
 Activation status of the license server.

Detailed Description

This object is used to access and query the Pen Store located on the remote License Server.

In PP-Capture, inks from a pen cannot be used unless the pen's serial number is found in the Pen Store.


Member Function Documentation

WordBool TPenStore::Validate ( const WideString  SerialNumber,
TPenFlags  Flags 
)

Validates a pen serial number and verifies that the pen is activated.

Parameters:
SerialNumberID of the Pen to validate.
FlagsReserved; use 0.
Returns:
True if the pen is activated, false otherwise.

Member Data Documentation

Activation status of the license server.

This can be:

  • csDemo (0)
  • csActivated (1)

A license server is considered activated if at least one pen is licensed.

Returns the pen whose serial number is SerialNumber.

Parameters:
SerialNumberSerial number of the Pen object to retrieve.
See also:
TPen