Class ProductLicenseManager
Inheritance
System.Object
ProductLicenseManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sdl.Common.Licensing.AppSupport
Assembly: Sdl.Common.Licensing.AppSupport.dll
Syntax
public sealed class ProductLicenseManager
Properties
CanActivateAPerpetual
Declaration
public bool CanActivateAPerpetual { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
CurrentProductLicense
The current active product license for this application
Declaration
public IProductLicense CurrentProductLicense { get; }
Property Value
Type | Description |
---|---|
IProductLicense |
Instance
Declaration
public static ProductLicenseManager Instance { get; }
Property Value
Type | Description |
---|---|
ProductLicenseManager |
Methods
GetLicensingDialog(ICommand)
Display the product activation dialog with the correct application specific title, description etc.
Declaration
public UserControl GetLicensingDialog(ICommand closeCommand)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.ICommand | closeCommand |
Returns
Type | Description |
---|---|
System.Windows.Controls.UserControl |
Initialize(Product)
Declaration
public void Initialize(Product product)
Parameters
Type | Name | Description |
---|---|---|
Product | product |
Events
LicenseStatusChanged
Declaration
public event EventHandler LicenseStatusChanged
Event Type
Type | Description |
---|---|
System.EventHandler |