Show / Hide Table of Contents

    Class KeyMetadata

    Metadata related to the license key. Note, this will not always contain value.

    Inheritance
    object
    KeyMetadata
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: SKMV3Models
    Assembly: Cryptolens.Licensing.CrossPlatform.dll
    Syntax
    public class KeyMetadata

    Properties

    | Improve this Doc View Source

    ActivatedMachines

    The number of activated machines for this license key.

    Declaration
    public int ActivatedMachines { get; set; }
    Property Value
    Type Description
    int
    | Improve this Doc View Source

    LicenseStatus

    Additional information about the license key. This variable will use the 'feature definitions' (that you can define in the dashboard for a given product) and the license properties to determine if the license is valid or not (eg. if it has expired).

    Declaration
    public LicenseStatus LicenseStatus { get; set; }
    Property Value
    Type Description
    LicenseStatus
    | Improve this Doc View Source

    Signature

    The Signature of the metadata object.

    Declaration
    public string Signature { get; set; }
    Property Value
    Type Description
    string
    | Improve this Doc View Source

    UsedFloatingMachines

    The number of active floating machine codes for a specific FloatingTimeInterval. Tip: If you want to find the number of unused machines, subtract this value from maxNumberOfMachines. If overdraft is used, you need to add the maxOverdraft value to maxNumberOfMachines.

    Declaration
    public int UsedFloatingMachines { get; set; }
    Property Value
    Type Description
    int

    Methods

    | Improve this Doc View Source

    VerifySignature(string)

    Verifies the integrity of the object (eg. it has not been changed since it was generated on the server).

    Declaration
    public bool VerifySignature(string RSAPublicKey)
    Parameters
    Type Name Description
    string RSAPublicKey

    Your public key (see this page https://app.cryptolens.io/docs/api/v3/QuickStart)

    Returns
    Type Description
    bool

    True if the signature is correct and false otherwise.

    • Improve this Doc
    • View Source
    Back to top Copyright © Cryptolens AB