- Revenera Community
- :
- FlexNet Embedded
- :
- FlexNet Embedded Forum
- :
- Re: How does one deactivate a license via FlexNet Embedded API?
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
I've gone through the FlexNet Embedded sample program "CapabilityRequest" for using an activation id to activate a license on my client machine. I've got my own client activating a license with an activation id and capability request sent to my FlexNet Operations server, just like in that sample.
But I cannot seem to locate an example of how to do the opposite: To connect back to the same server and deactivate the license on my machine/remove it from trusted storage. Is this possible? And if it is, what functions should I be looking at?
I tried doing the same thing as a normal capability request but setting the operation to "undo" instead of "request" like below but that did not appear to work
FlcCapabilityRequestSetOperation(m_licRef, m_ref, FLC_CAPABILITY_REQUEST_OPERATION_UNDO, m_err)
I've also gone through the "FlexNet Embedded Client 2020 R3 C SDK User Guide" and I cannot find anything on this. Only discussions about how to activate, not deactivate.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @jmoleary ,
To deactivate a license simply repeat the same activation process with a requested quantity of "0".
Thanks,
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @jmoleary ,
To deactivate a license simply repeat the same activation process with a requested quantity of "0".
Thanks,
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oh man am I simple! I'll try that, thanks