How to work with SoftPro.Select.Client.Runtime namespace
Posted: Wed Feb 03, 2016 10:11 am
I want to get the ILicensing interface so I can keep track of who has what licenses in our system programmatically. I can't seem to find any documentation on how to go about getting a collection of ILicenseLease objects to achieve this goal. I've tried every method I have in my existing shell package code I've used to get interfaces and none seem to work (I either get a cast exception or end up with a null reference).
A code sample showing how to enumerate across all the actively held licenses would be great. Obviously I could go straight to the database and query the ILicenseLease table but I'm trying to be good and use the API as much as possible.
TIA
A code sample showing how to enumerate across all the actively held licenses would be great. Obviously I could go straight to the database and query the ILicenseLease table but I'm trying to be good and use the API as much as possible.
TIA