The License Class
The License class provides information about a license as well as information about when a license will expire. All properties are read only. For each configured license, one class instance exists. The property ‘Identifier’ has the key qualifier and uniquely identifies a license instance.
License Class Properties
The table below lists the properties of the License class in alphabetical order. All properties are read only.
Some WMI queries are only available starting from anynode version 4.14.(Check out available WMI queries with the PowerShell command below).
To display all available contents of the System class locally without credentials, you can use the following command:
Get-WmiObject -Namespace "root\TESYSTEMS\anynode" -Class "System"
-Namespace "root\TESYSTEMS\anynode" : Specifies the WMI namespace
for anynode.
-Class "License" : Selects the "License" class to retrieve its contents.
Property: SubscriptionMode
Type: Boolean
Description: If the property is true, this is an abo license, which is validated by the auto updater.
Property: Active
Type: Boolean
Description: If the property is true, the license is active. If the property is false, the license is not active, and the reason is provided by the property Reason.
Property: AutoUpdaterFailed
Type: datetime
Description: The property provides the last date and time when the auto updater failed to validate the license. If the last update was successful, the property is zero. The format is the WMI datetime format.
Property: DemoMode
Type: Boolean
Description: If the property is true, this is a demo license.
Property: Description
Type: String
Description: The property provides the description of the license, e.g., TE-SYSTEMS GmbH – 2 Sessions. Note that the description of a license is not unique.
Property: ExpiresInDays
Type: uint32
Description: This property is only valid if the license is time-limited and the property ValidUntil contains a valid end date. The property provides the remaining days the license is valid. If the license is expired, the property is set to zero, the property Active is set to false, and the property Reason is set to 2.
Property: G722Decoder
Type: uint32
Description: The property provides the amount of parallel G.722 decoders granted by this license.
Property: G722Encoder
Type: uint32
Description: The property provides the amount of parallel G.722 encoders granted by this license.
Property: G729Decoder
Type: uint32
Description: The property provides the amount of parallel G.729 decoders granted by this license.
Property: G729Encoder
Type: uint32
Description: The property provides the amount of parallel G.729 encoders granted by this license.
Property: Identifier
Type: String
Description: The property provides the unique identifier of the license. This is typically in the form of a Globally Unique Identifier (GUID). The property has the key qualifier and identifies a License instance.
Property: OpusDecoder
Type: uint32
Description: The property provides the amount of parallel Opus decoders granted by this license.
Property: OpusEncoder
Type: uint32
Description: The property provides the amount of parallel Opus encoders granted by this license.
Property: Reason
Type: uint32
Description: The property provides the reason if a license is not active. Valid values are:
-
Active
-
Inactive: Configuration step required to activate
-
Expired
-
Invalid
-
Invalid signature
-
Invalid hardware identifier
-
Invalid product
-
Software upgrade is expired
-
Already used by other process
-
Not yet active: ValidFrom is in the future
Property: RecordingSessions
Type: uint32
Description: The property provides the amount of parallel recording sessions granted by this license.
Property: SUSExpiresInDays
Type: uint32
Description: The property provides the remaining days the software upgrade service is valid. If the software upgrade service is expired, the property is set to zero, the property Active is set to false, and the property Reason is set to 7.
Property: SUSUntil
Type: datetime
Description: The property provides the date and time when the software upgrade service will expire. The format is the WMI datetime format.
Property: TelSessions
Type: uint32
Description: The property provides the amount of parallel sessions granted by this license.
Property: TelTeamsSiteSessions
Type: uint32
Description: The property provides the amount of parallel tel teams site sessions granted by this license.
Property: ValidFrom
Type: datetime
Description: The property provides the date and time when the license becomes valid. The format is the WMI datetime format.
Property: ValidUntil
Type: datetime
Description: The property provides the date and time when the license becomes invalid. The format is the WMI datetime format.
Property: WebrtcClients
Type: uint32
Description: The property provides the amount of parallel registered WebRTC clients granted by this license.