Summary
How do I screen out the Virtual ethernet adpater IDs when calling lc_hostid()?
Synopsis
How do I screen out the virtual network adapters when I am calling lc_hostid() so that I am only returning the physical network addresses of a machine?
Discussion
By default, lmhostid filters out the hostid of any device that it identifies as a virtual Ethernet adapter. However, if you make use of lc_hostid() within an application it does not identify virtual Ethernet adapters unless the LM_A_PHYSICAL_ETHERNETID field is set within the application that makes the lc_hostid() call.
Setting ls_allow_physical_ethernetid_only in lsvendor.c will customize the vendor daemon so that it only accepts physical Ethernet adapters to be used for authenticating a license.
Related Articles
Sample Code to Fetch HostID Used for Checkout From a Server 11Number of Views How to Obtain Server hostid and Server hostname from a Client Application? 6Number of Views Email Notification URL using Snow License Manager server hostname. 31Number of Views Using a Dongle as a License Server HostID 15Number of Views Can The FlexNet Publisher License Server Serve A Flex Enabled Client Application Over DirectAccess? 9Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago