Search Results for

    Show / Hide Table of Contents

    Class ChangeIntValueToKeyModel

    Used to identify a data object.

    Inheritance
    object
    RequestModel
    KeyLockModel
    ChangeIntValueToKeyModel
    Inherited Members
    KeyLockModel.ProductId
    KeyLockModel.Key
    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 ChangeIntValueToKeyModel : KeyLockModel

    Properties

    | Edit this page View Source

    Bound

    This is the upper/lower bound that will be enforced on the increment or decrement operation. It will only be enforced if EnableBound is set to true. Please read the description above.

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

    EnableBound

    If set to true, it will be possible to specify an upper/lower bound. (for Increment Int Value) For example, if you set the Bound parameter (below) to 10, you will be able to increment the int value until you reach ten (inclusive). Once the upper bound is reached, an error will be thrown. (for Decrement Int Value) For example, if you set the Bound parameter (below) to 0, you will be able to decrement the int value until you reach zero (inclusive). Once the lower bound is reached, an error will be thrown.

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

    Id

    The unique object id for the data object. If you set the Name parameter, you can skip the Id parameter.

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

    IntValue

    This is either the new int value that should be assigned to the Data Object when using Data.SetIntValue(AuthDetails, ChangeIntValueModel) in which case it can be a signed int32, eg. 10, and -10 OR it is a the value that should be added to the current IntValue of an existing Data Object, in which case this value will be treated as an unsigned value, eg. 10 = -10. The latter case is relevant for Data.IncrementIntValue(AuthDetails, ChangeIntValueModel) and Data.DecrementIntValue(AuthDetails, ChangeIntValueModel).

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

    Name

    The name of the data object (assuming there are no duplicates).

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