Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Checking License Status through API

Is there a way to check if the License has expired or is about to expire through the API?

You can use License().

from robodk import robolink # RoboDK API
from robodk import robomath # Robot toolbox
RDK = robolink.Robolink()

If a professional is activated in my pc:
your License type is returned.
('Professional (RoboDK)', 'SomeString')
('Educational (Chris Chung)', 'SomeString')

if a license with problems:
'No license' is returned.

('No license', 'SomeString')

I hope it can help you.

Users browsing this thread:
1 Guest(s)