Search Results for

    Show / Hide Table of Contents

    Class ActivateModel

    Inheritance
    object
    RequestModel
    ActivateModel
    Inherited Members
    RequestModel.LicenseServerUrl
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: SKM.V3.Models
    Assembly: Cryptolens.Licensing.CrossPlatform.dll
    Syntax
    public class ActivateModel : RequestModel

    Properties

    | Edit this page View Source

    FieldsToReturn

    An integer that allows you to restrict the information returned in the license key data object. Please read https://app.cryptolens.io/docs/api/v3/Activate#remarks for more details.

    Declaration
    public int FieldsToReturn { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    FloatingTimeInterval

    When set to something greater than zero, floating licensing will be enabled. The time interval is then used to check that no more than the allowed number of machine codes (specified in maximumNumberOfMachines) have been activated in that time period (in seconds).

    Declaration
    public int FloatingTimeInterval { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    FriendlyName

    Allows you to specify a friendy name for the activated device, for example the employee's email. Friendly name does not impact the number of active machine codes / seats, but it offers an easy way of linking a machine/seat with a user. For added security, you can HMAC hash this value.

    Declaration
    public string FriendlyName { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Key

    The Key string, eg. AAAA-BBBB-CCCC-DDDD.

    Declaration
    public string Key { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    MachineCode

    The machine code (a string that identifies a device) for activation.

    Declaration
    public string MachineCode { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    MaxOverdraft

    When set to something greater than zero (and assuming FloatingTimeInterval is set too) floating licensing will permit a license overdraft (eg. activation will succeed even if maximumNumberOfMachines is reached). MaxOverdraft value specifies how much we can exceed the maximumNumberOfMachines value.

    Declaration
    public int MaxOverdraft { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Metadata

    Includes additional information about the license key, such as number of activated devices, etc.

    Declaration
    public bool Metadata { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    OSInfo

    Additional OS information, which will be registered as an event. If this variable is not set or set to null, this variable will contain a JSON serialized version of MachineInfo, which is computed using GetOSStats(). If you do not want OS data to be registered, set this variable to empty string. You can also send in other data by setting this variable to something else. Be careful with personal identifiable information and do not send in more data than necessary. Please read more at https://help.cryptolens.io/legal/DataPolicy#how-to-be-compliant-as-a-software-vendor.

    Declaration
    public string OSInfo { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    ProductId

    The product id, which can be found on the product page.

    Declaration
    public int ProductId { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Sign

    If true, the information inside the LiceseKey object will be signed. Note, in almost all cases, you should set this to True.

    Declaration
    public bool Sign { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    SignMethod

    Declaration
    public SignMethod SignMethod { get; set; }
    Property Value
    Type Description
    SignMethod
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © Cryptolens AB