How to know Inventor is NOT online?

How to know Inventor is NOT online?

liminma8458
Collaborator Collaborator
286 Views
1 Reply
Message 1 of 2

How to know Inventor is NOT online?

liminma8458
Collaborator
Collaborator

Hi, Experts,

In Inventor 2023, there is a new icon to show whether you connect to Inventor or not. If you are offline, you will run Inventor in a trial mode. You will be denied access to Inventor if you go offline for more then 30 days.

 

So, is there any API I can use to detect the trial mode and the days remaining. I am creating an Addin with entitlement API for the APP store, I would like to follow the Inventor way to give the user 30 days offline usage before he reconnects to Internet again.

 

Thanks in advance

 

liminma8458_0-1656466525999.png

liminma8458_1-1656466548715.png

 

 

 

Thanks
Limin
Inventor pro 2023 64 bit update 5.3; Windows 11 pro 64 bit version 24H2; Office 2013 64 bit

Download iCable in App Store to Create Cables Easily

0 Likes
Accepted solutions (1)
287 Views
1 Reply
Reply (1)
Message 2 of 2

YuhanZhang
Autodesk
Autodesk
Accepted solution

Hi Limin,

 

Currently we don't have Inventor API to tell the how long the Inventor is offline, this is an internal function for license management. You can find some sample code online to detect HTTP access status for your addin, or set a timebomb started from when users install your addin. 



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

0 Likes