|
Sep
30
|
Use the getHostName() method of the InetAddress class
InetAddress address = InetAddress.getLocalHost(); String hostname = address.getHostName();
|
|
Use the getHostName() method of the InetAddress class InetAddress address = InetAddress.getLocalHost(); String hostname = address.getHostName(); Leave a Reply |
|
Recent Comments