We would like to know if there are samples or examples showing how to get the hardware licenses (number of cameras activated out of how many licenses you have) as well as how to activate new camera additions.

There is no sample.

Even worse, there is no functionality. This is something you should be able to do in the Configuration API if it should be possible outside the Management Client.

Since the introduction of the Configuration API in XProtect c-code 2016R3 it has been step-wise improved, but it does not have the capability to perform all configuration yet.

I will based on your question make a request for enhancement to Milestone Product Management. This functionality will then be put into consideration for future implementation.

So as far as the functionality of adding a camera using the config api, does the end user still need to go into the management client to activate it?

Actually no. You can in the Management Client in the License Information view enable the option “Enable automatic license activation”. If this is enabled the cameras you add will automatically be activated, and it does not matter if they were added using the Management Client or a client based on the Configuration API.

It is unfortunate that you cannot (by code) read the license information because automatic license information will fail if running out of licenses or similar.

Thanks Bo.

How about slc lookup? Is there away to parse/query the slc file or the milestone dashboard/portal to see how many licenses an slc has total? We could work around this issue with that info.

I have been giving this some thought, and I cannot answer whether you would be able to use the current software registration system and some web data mining methods to get the information. In my opinion if Milestone should support a method it should be as part of the Configuration API.

Can we lookup an slc on the web portal to get its number of licenses?

https://online.milestonesys.com/ is built for human interaction, there is no webportal for retrieving license information other than that.

Good news. In XProtect 2020R2 Milestone will in the Configuration API introduce license handling functionality. Please look out for Milestone announcements, further details on this wll be announced leading up to the 2020R2 release. Currently there is no confirmed date for the release of 202R2.

Hello! Has there been any evolution on this? Very much need to access individual camera/hardware licenses. What are my options?

New functionality in the Configuration API was introduced with 2020R2 that address licensing.

See the “Introduction to MIP SDK 2020R2” here - https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/mip2020r2_intro.html&tree=tree_home.html

It is required that XProtect VMS is version 2020R2 or newer.

The easiest way to get an idea what this includes is to test it using the Config API Client.

https://doc.developer.milestonesys.com/html/index.html?base=samples/configapiclient.html&tree=tree_2.html