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 Knowledge Base
- :
- How to Retrieve the Host ID String in the FlexNet Embedded Binary License File
Subscribe
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
How to Retrieve the Host ID String in the FlexNet Embedded Binary License File
How to Retrieve the Host ID String in the FlexNet Embedded Binary License File
Summary
How to Retrieve the Host ID String in the FNE Binary License FileSynopsis
This article aims to show how to retrieve the hostid from a Binary license file using the Flexnet Embedded Client API calls.Discussion
The following is an example of a Binary License file:INCREMENT survey fnedemo 1.25 1-jan-2015 uncounted HOSTID=ID_STRING=teststring INCREMENT highres fnedemo 1.25 1-jan-2015 uncounted HOSTID=ID_STRING=teststring
To return the hostid it is possible to use the following call getHostIds. As an example modify the View.c sample that is provided so that the following call is performed:
*if(feature.getHostIds() != null) { info.append(" HOSTID=\"" + feature.getHostIds() + "\""); }
This should then return the following values based on the license file:
Features found in C:\Users\sflynn\Documents\NetBeansProjects\View\license.bin highres 1.25 01-Jan-2015 uncounted HOSTID="{STRING=[1234567890]}", Acquisition Status= Not valid for acquisition: Signature didn't pass validation. survey 1.25 01-Jan-2015 uncounted HOSTID="{STRING=[1234567890]}", Acquisition Status= Not valid for acquisition: Signature didn't pass validation.
No ratings