Key

The Key class provides access to individual license key properties.

Syntax

public interface IKey

Discussion

A Key object represents a single license key provided by Centrify. The license key is an encrypted string that encapsulates information such as the license type, number of allowed computers, a serial number, and whether the license is an evaluation or permanent license. For example, a single license key might authorize access for 25 servers for the organization with the serial number defined as 317.

Properties

The Key class provides the following properties:

This property Does this

Count

Gets the number of licenses provided by a specific key.

ExpiryDate

Gets the date a specific license key is set to expire.

IsEval

Determines whether the license key is an evaluation license.

IsValid

Determines whether the license key being checked is a valid license.

SerialNumber

Gets the serial number of the license key.

Type

Gets the license type for a specific license key.