Community
Showing results for 
Search instead for 
Do you mean 
Reply

Product Tier

Bronze Super Contributor
Posts: 1,231
Country: USA

Product Tier

I'm looking for a way to check if the user is running Standard or Premium. AT the moment I found this:

 

IF Toolkit.ACTFM.LicenseManager.ProductTier = Act.Shared.Licensing.ProductTier.BASIC  THEN blah, blah blah ( sudo code )

 

But I have to reference Act.Shared.Licensing.DLL to do this. Is there a cleaner place to find the product tier?

 

thanks in advance

-- jim durkin

Bronze Super Contributor
Posts: 1,231
Country: USA

Re: Product Tier

If somebody knows the answer please chime in otherwise I am changing this to a SDK feature request.

 

Can the SDK not throw an error when trying to access premium specific features like teams.

 

Why not return null/nothing rather then throwing the error when calling from standard?

 

thanks

-- jim durkin

Employee
Posts: 236
Country: USA

Re: Product Tier

Hi Jim,

 

You're correct, you should not have to reference that assembly, and the API you are using looks correct.  I'll get this logged as a defect.

 

As an alternative, you can check the registry to see which version is running.  In HKLM\SOFTWARE\ACT\Install there's a Type string value which is "Workgroup" if ACT! Premium is installed.

Bronze Super Contributor
Posts: 1,231
Country: USA

Re: Product Tier

thanks

-- jim durkin