kakuml
Level 2

Get Host/Machine Name?

Hi There,
I need to add a custom rule that checks the machine/host name where the Installer is running. Can someone point me to any java examples of this?
Labels (1)
0 Kudos
3 Replies
RobertDickau
Flexera Alumni

A web search for "java host name" should turn up some examples; for example,

java.net.InetAddress.getLocalHost( ).getHostName( )

should get the name you want, and you can use that to populate a variable that you use in a rule.
0 Kudos
purcellk24
Level 7

I usually use the HostInfo plugin to get this information for me.

http://www.acresso.com/downloads/downloads_7399.htm
0 Kudos
kakuml
Level 2

Will give it a go.
0 Kudos