Keys
The Keys
class is used to manage a set of license keys.
Syntax
public interface IKeys
Discussion
This class allows you to retrieve a set of license keys of a particular license
type. For example, if you have one or more encrypted license keys
(xxxx-xxxx-xxxx) that provide up to 100 licenses of the same license type, such
as 100 workstation, server, or application licenses, the Keys
object can be used
to retrieve the Key
objects that provide those 100 workstation, server, or
application licenses.
Methods
The Keys
class provides the following methods:
Method | Description |
---|---|
Add
|
Adds a license key to the set. |
GetEnumerator
|
Returns an enumeration of Key objects. |
Remove
|
Removes a license key from the set. |
Properties
The Keys
class provides the following properties:
Property | Description |
---|---|
Count
|
Gets the number of license keys stored in the set. |
Item
|
Gets the license key object using a specific index identifier. |