INtime SDK Help
RtIsActivated
INtime SDK v7.1 > About INtime > Other system libraries > INtime License Library > RtIsActivated

Return license status for INtime Distributed RTOS.

int 
RtIsActivated(
    int localOnly);

Parameters

localOnly
Set to 1. Accept only local licenses.

Remarks

The license information can only be read from local licenses.

Network, SDK, and time limited licenses are not covered by this function.

This library and function are intended to check if a valid target (run-time) INtime license is present and if used with Enhanced Licenses,  the Licensing Identifier (or Vendor License GUID) of the license purchaser. This validates not only that the INtime license is valid, but also that the INtime license was issued to the expected account. The Vendor License GUID  can be found on the My Account page as "Licensing Identifier".

Return value

0
no valid license is found
1
a valid license is found

Example

An example is provided as a sample project.

Requirements

Versions Defined in Include Link to
INtime 7.0 intime/nt/include/drtoslicense.h drtoslicense.h intimelicenselibrary(64).lib

 

See Also