Activation Reclaim (Mac)

You can manage existing and previous activations for a license through the SDK, letting you deactivate older activations if the license being used has run out of available activations.

You can get a list of existing activations using the activationsForLicense method available on PADProduct.

This method optionally accepts a license code if the product isn't activated. If the product is already activated, it uses the currently activated license code. You can still pass in a different license code, if needed.

For example:

This will provide you with a list of activations for that license code and product:

You can choose to display the list of activations to your customer or, for example, choose the oldest activation from the list to deactivate.

Once you have a list of activations, you can use the deactivateActivation method to deactivate one or all the activations.

This method accepts an activation_id from the previous response. If this activation is the current activation on the machine, deactivation still takes place with the usual callbacks and delegate methods.

For example:

In this example, we get a list of activations and instantly deactivate the oldest activation in the list to free up a new activation.

We supply the license code because we assume the customer can't activate because there's no available activations for the license.