Click or drag to resize

Key Class

Methods that perform operations on a license key. A complete list can be found here: https://serialkeymanager.com/docs/api/v3/Key
Inheritance Hierarchy
SystemObject
  SKM.V3.MethodsKey

Namespace:  SKM.V3.Methods
Assembly:  SKM (in SKM.dll) Version: 4.0.2.6 (4.0.2.6)
Syntax
public static class Key

The Key type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCode exampleActivate
This method will perform a key activation, similar to Activate [Web API 2]. In contrast to key validation, key activation is not read only since it can change license key data depending on configurations such as trial activation, etc. If trial activation is enabled, a key can be altered. Information that is retrieved can be signed by the server to be able to keep validate keys without Internet connection. Please keep in mind that the Feature lock can be used to restrict the fields that can be shown in the result (fieldsToReturn). More about this in Remarks. https://serialkeymanager.com/docs/api/v3/Activate
Public methodStatic memberCode exampleAddFeature
This method will change a given feature to be true (in a license). If the key algorithm in the product is SKGL, the key string will be changed if necessary. Otherwise, if SKM15 is used, the key will stay the same. If the key is changed, the new key will be stored in the message.
Public methodStatic memberBlockKey
This method will block a specific license key to ensure that the key cannot be accessible by most of the methods in the Web API (activation, validation, optional field, and deactivation).Note, blocking the key will still allow you to access the key in Web API 3, unless otherwise stated for a given Web API 3 method. To do the reverse, please see UnblockKey(String, KeyLockModel).
Public methodStatic memberChangeNotes
This method will change the content of the notes field of a given license key.
Public methodStatic memberCode exampleCreateKey
This method will create a new license key, which is the same as GenerateKey in Web API 2.
Public methodStatic memberCode exampleDeactivate
This method will 'undo' a key activation with a certain machine code. The key should not be blocked, since otherwise this method will throw an error. https://serialkeymanager.com/docs/api/v3/Deactivate
Public methodStatic memberExtendLicense
Public methodStatic memberGetKey
This method will return information about a license key, similar to Validate [Web API 2]. In contrast to activation, this method (aka Key Validation) will be in read only mode. That is, it will not add a device to the license nor use trial activation. More about this in Remarks.
Public methodStatic memberMachineLockLimit
This method will change the maximum number of machine codes that a license key can have.
Public methodStatic memberRemoveFeature
Public methodStatic memberUnblockKey
This method will unblock a specific license key to ensure that the key can be accessible by most of the methods in the Web API (activation, validation, optional field, and deactivation). To do the reverse, please see BlockKey(String, KeyLockModel).
Top
See Also