VideoOS.Platform.License.LicenseManager Class Reference

The LicenseManager assist the plugins in managing licenses for a plugin or stand alone application.
More...

Public Member Functions

DateTime GetExpirationDate (String feature)
 Provides an expiration date for a given feature.
 
Collection< LicenseInformationGetLicense (Guid pluginid)
 Get the activated license for a plug-in.
If no activation has taken place, or this plugin does not have a license, the return collection will be empty.
 
LicenseInformation GetLicense (Guid pluginid, string licenseType)
 Get the activated license for a plug-in for a specific license type.
If no activation has taken place, or this plugin does not have a license, null will be returned.
 
List< LicenseInformationGetLicenses ()
 Get list of all MIP Licenses activated for this SLC.
 
 LicenseManager (UserContext userContext)
 To retrieve license and product information from other systems than the one identified by the Configuration class, the LicenseManager can be constructed with a defined UserContext. The First added server is used for getting it's license information.
 

Properties

ConcurrentLicenseManager ConcurrentLicenseManager [get]
 NOTE: ConcurrentLicenseManager has been discontinued and should no longer be used.
 
String CudaPublicKey [get]
 A public key used for sending information into the Milestone Customer Dash board.
 
DateTime Expire [get]
 Defines if the system SLC will expire.
 
List< String > Features [get]
 Returns the list of features defined in the product license.
 
OemResourceManager OemResourceManager [get]
 Returns the OemResourceManager holding Co-Branding resources.
 
int ProductCode [get]
 Defines the product via a number.

 
ReservedLicenseManager ReservedLicenseManager [get]
 Returns the ReservedLicenseManager.
 
String SLC [get]
 Contains the VMS Software License Code.
 

Detailed Description

The LicenseManager assist the plugins in managing licenses for a plugin or stand alone application.

Constructor & Destructor Documentation

◆ LicenseManager()

VideoOS.Platform.License.LicenseManager.LicenseManager ( UserContext userContext)
inline

To retrieve license and product information from other systems than the one identified by the Configuration class, the LicenseManager can be constructed with a defined UserContext. The First added server is used for getting it's license information.

Parameters
userContext

Member Function Documentation

◆ GetExpirationDate()

DateTime VideoOS.Platform.License.LicenseManager.GetExpirationDate ( String feature)
inline

Provides an expiration date for a given feature.

If there is no expiration date defined, the returning result will be DateTime.MaxDate

Parameters
feature
Returns

◆ GetLicense() [1/2]

Collection< LicenseInformation > VideoOS.Platform.License.LicenseManager.GetLicense ( Guid pluginid)
inline

Get the activated license for a plug-in.
If no activation has taken place, or this plugin does not have a license, the return collection will be empty.

Parameters
pluginid
Returns

◆ GetLicense() [2/2]

LicenseInformation VideoOS.Platform.License.LicenseManager.GetLicense ( Guid pluginid,
string licenseType )
inline

Get the activated license for a plug-in for a specific license type.
If no activation has taken place, or this plugin does not have a license, null will be returned.

Parameters
pluginidThe Guid of the PluginDefinition.Id
licenseTypeThe string identifying a licenseType
Returns

◆ GetLicenses()

List< LicenseInformation > VideoOS.Platform.License.LicenseManager.GetLicenses ( )
inline

Get list of all MIP Licenses activated for this SLC.

Returns

Property Documentation

◆ ConcurrentLicenseManager

ConcurrentLicenseManager VideoOS.Platform.License.LicenseManager.ConcurrentLicenseManager
get

NOTE: ConcurrentLicenseManager has been discontinued and should no longer be used.

◆ CudaPublicKey

String VideoOS.Platform.License.LicenseManager.CudaPublicKey
get

A public key used for sending information into the Milestone Customer Dash board.

◆ Expire

DateTime VideoOS.Platform.License.LicenseManager.Expire
get

Defines if the system SLC will expire.

◆ Features

List<String> VideoOS.Platform.License.LicenseManager.Features
get

Returns the list of features defined in the product license.

◆ OemResourceManager

OemResourceManager VideoOS.Platform.License.LicenseManager.OemResourceManager
get

Returns the OemResourceManager holding Co-Branding resources.

◆ ProductCode

int VideoOS.Platform.License.LicenseManager.ProductCode
get

Defines the product via a number.

The following product codes are defined:
000 - Unknown
440 - Essential+
460 - Express+
480 - Professional+
500 - Expert
600 - Corporate

◆ ReservedLicenseManager

ReservedLicenseManager VideoOS.Platform.License.LicenseManager.ReservedLicenseManager
get

Returns the ReservedLicenseManager.

◆ SLC

String VideoOS.Platform.License.LicenseManager.SLC
get

Contains the VMS Software License Code.

Note that the field is populated as part of getting the license information from the server, just after connection has been established. When executing in the Event Server, wait for the LicenseChangedIndication message before reading the SLC property.