VideoOS.Platform.License.SystemLicense Class Reference

Contains information about the general license for the installed XProtect product. More...

Public Member Functions

virtual bool IsFeatureEnabled (string featureName)
 Validates if the current license allows a specific feature be enabled.
This method is intended for internal Milestone use only.
 

Properties

virtual String CudaPublicKey [get, set]
 This is used to identify current install (=customer) on the Milestone Customer Dash Board (Cuda)
 
virtual Dictionary< String, DateTime > ExpirationDateTimes [get]
 Return all expiration dates.
 
virtual DateTime Expire [get, set]
 The date it expires.
Plugins have their own expire dates, that does not relate to the main product.
 
virtual List< String > FeatureFlags [get]
 Return all defined features for this product.
This method is intended for internal use.
 
virtual int GracePeriod [get, set]
 The default grace period for how long the end-user has to activate newly added items. The value is in days.
 
virtual DateTime Issued [get, set]
 The date it was issued.
 
virtual int ProductCode [get, set]
 Defines the product via a number.

 
virtual string SLC [get, set]
 The SLC for the main product.
 

Detailed Description

Contains information about the general license for the installed XProtect product.

Member Function Documentation

◆ IsFeatureEnabled()

virtual bool VideoOS.Platform.License.SystemLicense.IsFeatureEnabled ( string featureName)
inlinevirtual

Validates if the current license allows a specific feature be enabled.
This method is intended for internal Milestone use only.

Parameters
featureNameThe name of the feature to check
Returns
true - if the feature is allowed.

Property Documentation

◆ CudaPublicKey

virtual String VideoOS.Platform.License.SystemLicense.CudaPublicKey
getset

This is used to identify current install (=customer) on the Milestone Customer Dash Board (Cuda)

◆ ExpirationDateTimes

virtual Dictionary<String, DateTime> VideoOS.Platform.License.SystemLicense.ExpirationDateTimes
get

Return all expiration dates.

The table is a clone.

◆ Expire

virtual DateTime VideoOS.Platform.License.SystemLicense.Expire
getset

The date it expires.
Plugins have their own expire dates, that does not relate to the main product.

◆ FeatureFlags

virtual List<String> VideoOS.Platform.License.SystemLicense.FeatureFlags
get

Return all defined features for this product.
This method is intended for internal use.

◆ GracePeriod

virtual int VideoOS.Platform.License.SystemLicense.GracePeriod
getset

The default grace period for how long the end-user has to activate newly added items. The value is in days.

◆ Issued

virtual DateTime VideoOS.Platform.License.SystemLicense.Issued
getset

The date it was issued.

◆ ProductCode

virtual int VideoOS.Platform.License.SystemLicense.ProductCode
getset

Defines the product via a number.

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

◆ SLC

virtual string VideoOS.Platform.License.SystemLicense.SLC
getset

The SLC for the main product.