Search Results for

    Show / Hide Table of Contents

    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)

    Initializes the current licensing manager

    Declaration
    [Obsolete("Please use Initialize(Product product, ILoggerFactory loggerFactory)")]
    public void Initialize(Product product)
    Parameters
    Type Name Description
    Product product

    Initialize(Product, ILoggerFactory)

    Initializes the current licensing manager

    Declaration
    public void Initialize(Product product, ILoggerFactory loggerFactory)
    Parameters
    Type Name Description
    Product product
    Microsoft.Extensions.Logging.ILoggerFactory loggerFactory

    Events

    LicenseStatusChanged

    Declaration
    public event EventHandler LicenseStatusChanged
    Event Type
    Type Description
    System.EventHandler

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(Object, Action<Window>)

    On this page

    • Properties
      • CanActivateAPerpetual
      • CurrentProductLicense
      • Instance
    • Methods
      • GetLicensingDialog(ICommand)
      • Initialize(Product)
      • Initialize(Product, ILoggerFactory)
    • Events
      • LicenseStatusChanged
    • Extension Methods
    Back to top Generated by DocFX