belsonmarble
Posts: 65
Joined: Wed May 22, 2019 1:43 am

Show registered in About Box

Can you please shed some light on how I can show that the application has been registered in the About box please.

Thank you
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Show registered in About Box

Hi,

You can get a license element (e.g. ID) within your application code and if the call succeeds this means the license was registered.

Have a look on our "How to interrogate the licensing library to get license information?" article.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
belsonmarble
Posts: 65
Joined: Wed May 22, 2019 1:43 am

Re: Show registered in About Box

Is there an example bit of code you can offer for C# to show the registered state please. Because in the example code provided by you, I am still not sure how to get this running. Thank you.
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Show registered in About Box

Hi,

When a license is registered then you can get one of the license element properties (e.g. ID, MP, etc). Have a look on the "License Elements Properties" section of "Trial and Licensing Properties" article. So, you could try to get the ID license element property by using the "GetPropertyValue" function.

In what regards to a sample code of how to use the "GetPropertyValue" function, you can download the C# sample attached at the end of "Integrate Licensing support in C# or VB.NET applications" article.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”