The LicenseManager assist the plugins in managing licenses for a plugin or stand alone application.
More...
|
DateTime | GetExpirationDate (String feature) |
| Provides an expiration date for a given feature.
|
|
Collection< LicenseInformation > | GetLicense (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< LicenseInformation > | GetLicenses () |
| 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.
|
|
The LicenseManager assist the plugins in managing licenses for a plugin or stand alone application.
◆ 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
-
◆ 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
-
- 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
-
- 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
-
- Returns
◆ GetLicenses()
Get list of all MIP Licenses activated for this SLC.
- Returns
◆ ConcurrentLicenseManager
◆ 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
◆ 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
◆ 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.