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 Publisher
- :
- FlexNet Publisher Forum
- :
- How can i get the server ID
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 20, 2014
05:22 AM
How can i get the server ID
Hello
On a local machine, using ier = lc_hostid(job1,HOSTID_FLEXID9,buf); give the dongle ID.
When using a licence server, how can i read server HOSTID from my local machine ?
When my software start, i need to know dongle ID of licence server. How to do it ?
Thanks for help.
On a local machine, using ier = lc_hostid(job1,HOSTID_FLEXID9,buf); give the dongle ID.
When using a licence server, how can i read server HOSTID from my local machine ?
When my software start, i need to know dongle ID of licence server. How to do it ?
Thanks for help.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 21, 2014
03:44 AM
Hello,
I reply to myself.
I found solution, if this can help someone, i give it.
Just have to read the CONFIG of feature to access server hostid.
/******************************************************************************/
static int LibFlexReadServerHostID(char* FeatName)
/******************************************************************************/
{
CONFIG *conf=0;
conf = lc_get_config(job1,FeatName);
if (conf != NULL)
{
strcpy(m_ServerHostID,conf->server->idptr->id.host);
return(1);
}
return(0);
}
I reply to myself.
I found solution, if this can help someone, i give it.
Just have to read the CONFIG of feature to access server hostid.
/******************************************************************************/
static int LibFlexReadServerHostID(char* FeatName)
/******************************************************************************/
{
CONFIG *conf=0;
conf = lc_get_config(job1,FeatName);
if (conf != NULL)
{
strcpy(m_ServerHostID,conf->server->idptr->id.host);
return(1);
}
return(0);
}