Retrieves the computer name of the current system.
public static final String getComputerName()
Returns a String object representing the name of the computer.
Use the getComputerName method to determine the name of the computer as it is displayed to other users on a network. This name is established at system startup when it is initialized from the registry.