You can validate a license using the SDK. Here we are checking if the license is valid for a certain device and product ID. In this example, the device with identifier some_device_id, and the product ID p_123456.
It is recommended to only validate a license using a device identifier and a
product ID, as it provides more security. However, both parameters are
optional.
Here is an example of the returned validation object:
A license can have the status active and still not be valid. For example, if
you validate for a certain device and product ID, and the license is not valid
for that device or product ID.