Skip to main content
Parameters used by CreateKey(string, CreateKeyModel). Namespace: SKM.V3.Models
Version: 4.0.54. Both packages; all six documented target frameworks.
Web API Reference

Inherited SDK Members

Properties

AddOrUseExistingCustomer

If set to true, this method will either associate the license with a new customer (if no customer with the specified email exists) or with an existing one (the customer whose email is the same as the ‘Email’ parameter of this method). Note: In addition to CreateKey permission, you also need to add ‘AddCustomer’ permission. The same idea applies as for the option ‘NewCustomer’, i.e. this method can be called with the same parameters as Add Customer method. If a customer already exists, the license will be associated with an existing customer whose email address equals to ‘Email’ parameter. Properties of an existing customer will not be updated.
Type: bool

AllowedMachines

A list (separated by new lines) of machine codes that will be prioritized during key activation.
Type: string

Block

Blocks the key from being accessed by the Activation method.
Type: bool

CustomerId

The customer id of the customer that was associated with the license key.
Type: int

F1

The feature 1 (either true or false)
Type: bool

F2

The feature 2 (either true or false)
Type: bool

F3

The feature 3 (either true or false)
Type: bool

F4

The feature 4 (either true or false)
Type: bool

F5

The feature 5 (either true or false)
Type: bool

F6

The feature 6 (either true or false)
Type: bool

F7

The feature 7 (either true or false)
Type: bool

F8

The feature 8 (either true or false)
Type: bool

MaxNoOfMachines

In order to restrict the number of computers that can use the same key, you can set enable this feature by enter a number greater than zero. This number represents the maximum number of computers that can activate the key.
Type: int

NewCustomer

If set to true, you will be able to add the paramters that apply to Add Customer method to this method so that a customer is automatically created together with the license key. When setting this parameter to true, please ensure that CustomerId is not set to anything.Note: In addition to CreateKey permission, you also need to add ‘AddCustomer’ permission.
Type: bool

NoOfKeys

The number of keys to generate.
Type: int

Notes

Additional notes about the license key. Max. 500 chars.
Type: string

Period

The number of days, from today, the license key should be valid. Note, you will still be able to activate keys that have “expired”. You can enforce the expiration date in the client program. Please see Keys that don’t expire tutorial.
Type: int

ProductId

the product id (=**[ProductId] **)
Type: int

ResellerId

The id of the reseller that should be associated with this license key.
Type: int

TrialActivation

Enables or disables Trial activation
Type: bool

Constructors

CreateKeyModel()

Creates an empty CreateKeyModel object. This constructor does not send an API request.
.NET SDK Reference · Reviewed Source Revision