Skip to main content
1-Visitor
November 17, 2020
Solved

What's the difference between GetCurrentLicenseInfo & GetDaysRemainingInLicense wrt to license days?

  • November 17, 2020
  • 2 replies
  • 2169 views

Hi Team,

 

Why there is difference in results of below two services of LicensingSubsystem?

 

1) 

GetCurrentLicenseInfo- This service is giving me the no of days for one of my instance as 15.

2) 

GetDaysRemainingInLicense- This service is giving me the no of days for same instance as -14 (minus 14)

 

What is the difference between these two results and what is the significance of negative value of second service?

 

 

Best answer by slangley

Hi @ranjank.

 

This may have been a bug in that release.  In my testing under 9.0, it works as expected.

 

Note that ThingWorx 8.3 is no longer supported.  It would be a good idea to schedule an upgrade of your environments.  Please refer to the Product Release Calendar for product support end dates for each release.

 

Regards.

 

--Sharon

2 replies

22-Sapphire I
November 17, 2020

GetCurrentLicenseInfo should give you all the different features you are enabled for by your license and the expiration if known.

Not sure how GetDaysRemainingInLicense is giving you a different number though, that is rather strange.

Should give you the same number or Null/NA

Community Manager
November 17, 2020

Hi @ranjank.

 

I agree with Pai's response. 

 

What version of ThingWorx are you running?

 

Regards.

 

--Sharon

ranjank1-VisitorAuthor
1-Visitor
November 18, 2020

@slangley @PaiChung 

The ThingWorx version is 8.3.4.

 

Also have enclosed the scheenshot for GetDaysRemainingInLicense service result.

Community Manager
November 30, 2020

Hi @ranjank.

 

If you feel your question has been answered, please mark the appropriate response as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon