CreateKey(string, CreateKeyModel).
Namespace: SKM.V3.ModelsVersion: 4.0.54. Both packages; all six documented target frameworks.
Inherited SDK Members
AllowActivationManagementAllowMultipleUserAssociationCompanyNameEmailEnableCustomerAssociationNameLicenseServerUrl
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.bool
AllowedMachines
A list (separated by new lines) of machine codes that will be prioritized during key activation.string
Block
Blocks the key from being accessed by the Activation method.bool
CustomerId
The customer id of the customer that was associated with the license key.int
F1
The feature 1 (either true or false)bool
F2
The feature 2 (either true or false)bool
F3
The feature 3 (either true or false)bool
F4
The feature 4 (either true or false)bool
F5
The feature 5 (either true or false)bool
F6
The feature 6 (either true or false)bool
F7
The feature 7 (either true or false)bool
F8
The feature 8 (either true or false)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.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.bool
NoOfKeys
The number of keys to generate.int
Notes
Additional notes about the license key. Max. 500 chars.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.int
ProductId
the product id (=**[ProductId] **)int
ResellerId
The id of the reseller that should be associated with this license key.int
TrialActivation
Enables or disables Trial activationbool