Hasp.Update Method

Namespace: Aladdin.Hasp

Description

Write an update to a Sentinel protection key.

Syntax

static HaspStatus Update ( String     update_data,
                           ref String ack_data
                         )

Parameters

update_data

Update data

ack_data

Reference to the string that receives the acknowledgment data.

Return Values

A HaspStatus status code.

Usage Notes

You do not need to be logged in to a Feature or Sentinel protection key in order to use this method.

This method writes update information. The update code contains all necessary data to perform the update on a deployed Sentinel protection key including:

>The Sentinel protection key on which the updated information is to be written

>The Vendor Code that is required to access the Sentinel protection key

>The actual update information

Depending on the update data, the method returns an acknowledgement code that is signed/encrypted by the update. The code is evidence that an update has been applied to a license.

This method is an extension of the main Sentinel Licensing API and is utilized by the Sentinel RUS utility to update Sentinel LDK licenses.

NOTE   When this method is called, a write cycle is performed for the Sentinel protection key. Sentinel HL keys are certified to withstand a specific number of write cycles. For information on the number of write cycles for which Sentinel HL keys are certified, see the Sentinel HL Data Sheet.

Related Topics

Detach Method