SKM.V3.MethodsVersion: 4.0.54. Both packages; all six documented target frameworks.
Result == ResultType.Success before using its data. In version 4.0.54, handled request and JSON errors normally return ResultType.Error with a diagnostic Message. A non-null result alone does not mean the request succeeded. See Request Errors.
Constructors
Data()
Creates an empty Data object. This constructor does not send an API request.Methods
AddDataObject(string, AddDataObjectModel)
Creates a newDataObject.
Returns:
DataObjectIdResult. The API response. Check Result and Message before using the returned data.
Note: for more details, please see
AddDataObject
AddDataObject(string, AddDataObjectToKeyModel)
Creates a newDataObject for a key.
Returns:
DataObjectIdResult. The API response. Check Result and Message before using the returned data.
Note: for more details, please see
AddDataObject
AddDataObject(string, AddDataObjectToMachineCodeModel)
Creates a newDataObject for a machine code.
Returns:
DataObjectIdResult. The API response. Check Result and Message before using the returned data.
Note: for more details, please see
AddDataObject
DecrementIntValue(string, ChangeIntValueModel)
This method will decrement the current int value by the one specified as an input parameter, i.e.IntValue.
Returns:
BasicResult. The API response. Check Result and Message before using the returned data.
Note: for more details, please see
DecrementIntValue
DecrementIntValue(string, ChangeIntValueToKeyModel)
This method will decrement the current int value by the one specified as an input parameter, i.e.IntValue.
Returns:
BasicResult. The API response. Check Result and Message before using the returned data.
Note: for more details, please see
DecrementIntValue
DecrementIntValue(string, ChangeIntValueToMachineCodeModel)
This method will decrement the current int value by the one specified as an input parameter, i.e.IntValue.
Returns:
BasicResult. The API response. Check Result and Message before using the returned data.
Note: for more details, please see
DecrementIntValue
IncrementIntValue(string, ChangeIntValueModel)
This method will increment the current int value by the one specified as an input parameter, i.e.IntValue.
Returns:
BasicResult. The API response. Check Result and Message before using the returned data.
Note: for more details, please see
IncrementIntValue
IncrementIntValue(string, ChangeIntValueToKeyModel)
This method will increment the current int value by the one specified as an input parameter, i.e.IntValue.
Returns:
BasicResult. The API response. Check Result and Message before using the returned data.
Note: for more details, please see
IncrementIntValue
IncrementIntValue(string, ChangeIntValueToMachineCodeModel)
This method will increment the current int value by the one specified as an input parameter, i.e.IntValue.
Returns:
BasicResult. The API response. Check Result and Message before using the returned data.
Note: for more details, please see
IncrementIntValue
ListDataObjects(string, ListDataObjectsModel)
This method lists either all Data Object associated with a license key, a product or your entire account, or all of them at once.
Returns:
ListOfDataObjectsResult. The API response. Check Result and Message before using the returned data.
Note: for more details, please see
ListDataObjects
ListDataObjects(string, ListDataObjectsToKeyModel)
This method lists all data objects associated with a license key only.
Returns:
ListOfDataObjectsResult. The API response. Check Result and Message before using the returned data.
Note: for more details, please see
ListDataObjects
ListDataObjects(string, ListDataObjectsToMachineCodeModel)
This method lists all data objects associated with a machine code only.
Returns:
ListOfDataObjectsResult. The API response. Check Result and Message before using the returned data.
Note: for more details, please see
ListDataObjects
RemoveDataObject(string, RemoveDataObjectModel)
This method will remove an existing data object.
Returns:
BasicResult. The API response. Check Result and Message before using the returned data.
Note: for more details, please see
RemoveDataObject
RemoveDataObject(string, RemoveDataObjectToKeyModel)
This method will remove an existing data object.
Returns:
BasicResult. The API response. Check Result and Message before using the returned data.
Note: for more details, please see
RemoveDataObject
RemoveDataObject(string, RemoveDataObjectToMachineCodeModel)
This method will remove an existing data object.
Returns:
BasicResult. The API response. Check Result and Message before using the returned data.
Note: for more details, please see
RemoveDataObject
SetIntValue(string, ChangeIntValueModel)
This method will set the int value to a new one.
Returns:
BasicResult. The API response. Check Result and Message before using the returned data.
Note: for more details, please see
SetIntValue
Note also: Integer overflows are not allowed. If you attempt to assign an int value that is beyond the limits of an int32, zero will be assigned to the data object’s IntValue.
SetIntValue(string, ChangeIntValueToKeyModel)
This method will set the int value to a new one.
Returns:
BasicResult. The API response. Check Result and Message before using the returned data.
Note: for more details, please see
SetIntValue
Note also: Integer overflows are not allowed. If you attempt to assign an int value that is beyond the limits of an int32, zero will be assigned to the data object’s IntValue.
SetIntValue(string, ChangeIntValueToMachineCodeModel)
This method will set the int value to a new one.
Returns:
BasicResult. The API response. Check Result and Message before using the returned data.
Note: for more details, please see
SetIntValue
Note also: Integer overflows are not allowed. If you attempt to assign an int value that is beyond the limits of an int32, zero will be assigned to the data object’s IntValue.
SetStringValue(string, ChangeStringValueModel)
This method will set the string value to a new one.
Returns:
BasicResult. The API response. Check Result and Message before using the returned data.
Note: for more details, please see
SetStringValue
SetStringValue(string, ChangeStringValueToKeyModel)
This method will set the string value to a new one.
Returns:
BasicResult. The API response. Check Result and Message before using the returned data.
Note: for more details, please see
SetStringValue
SetStringValue(string, ChangeStringValueToMachineCodeModel)
This method will set the string value to a new one.
Returns:
BasicResult. The API response. Check Result and Message before using the returned data.
Note: for more details, please see
SetStringValue
UploadValues(string, UploadValuesToKeyModel)
This method will extract content from a Cryptolens log (used in offline licensing) and update existing data objects (either by incrementing or decrementing them). To call this method, you either need an “Increment Int Value” and/or “Decrement Int Value” permission, depending on if the log that you submit increases or decreases an int value of a data object. Note: for the time being, the limit of the number of entries in the log is 1000. i.e.IntValue.
Returns:
BasicResult. The API response. Check Result and Message before using the returned data.
Note: for more details, please see
UploadValues
.NET SDK Reference · Reviewed Source Revision