Click or drag to resize

KeyBlockKey Method

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).

Namespace:  SKM.V3.Methods
Assembly:  SKM (in SKM.dll) Version: 4.0.2.6 (4.0.2.6)
Syntax
public static KeyInfoResult BlockKey(
	string token,
	KeyLockModel parameters
)

Parameters

token
Type: SystemString
The access token (https://serialkeymanager.com/User/AccessToken#/) with Block key permission.
parameters
Type: SKM.V3.ModelsKeyLockModel
The parameters that the method needs.

Return Value

Type: KeyInfoResult
A BasicResult object or null.
Remarks
This method may, in rare cases, return null if an error has occurred. Null should be seen as an unsuccessful result.
See Also