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
Auth()
Creates an empty Auth object. This constructor does not send an API request.Methods
KeyLock(string, KeyLockModel)
This method will, given a license key, generate a new access token that is locked to that particular key and return the Id of that key. The scope of the access token is preserved (i.e. all methods that were enabled in the access token used to access this method will be copied to the new access token) except for the key lock, which is going to be changed to the id of the license key. Note, for this method to work, the access token used to access this method has to have key lock set to -1. All of these details are described in Remarks.
Returns:
KeyLockResult. The API response. Check Result and Message before using the returned data.
Note: for more details, please see
KeyLock
.NET SDK Reference · Reviewed Source Revision