This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- FlexNet Embedded
- :
- FlexNet Embedded Forum
- :
- SetHostId in FlexNet Embedded
Subscribe
- 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
Nov 16, 2021
06:25 PM
SetHostId in FlexNet Embedded
Today our product is using MotherBoardSerialNumber as the HostId, therefore when we GetILicensing from the SDK, we pass in the MotherBoardSerialNumber as hostId.
- FlxDotNetClient.LicensingFactory.GetLicensing(IdentityData, TrustedStoragePath, <MotherBoardId>)
This works well. Now we need to extend this license scheme to support virtualization.
[Question1]
The Logic the I would like to implement is
- call FlxDotNetClient.ILicensing.LicenseManager.HostIds
- if HostIdEnum.FLX_HOSTID_TYPE_VM_UUID exist, then call FlxDotNetClient.ILicensing.LicenseManager.SetHostId with the retrieved VM UUID.
- Else use the MotherBoardSerialNumber as HostId, however when I called FlxDotNetClient.ILicensing.LicenseManager.SetHostId, I not sure what is the HostIdEnum to pass in??
[Question2]
If I still pass in the MotherBoardId during GetLicensing
- FlxDotNetClient.LicensingFactory.GetLicensing(IdentityData, TrustedStoragePath, <MotherBoardId>)
Then when detected is VM environment, I call SetHostId with the VM_UUID, will the VM_UUID override the MotherBoardId?
(0) Replies