getComputerName

getComputerName(): String;

The getComputerName method of the Process class returns a string containing the computer name of the machine that owns the process (for example, "wilbur2a").

If the receiving process belongs to a presentation client, the getComputerName method returns the computer name of the machine where the presentation client is running; otherwise, it returns the computer name of the machine where the node owning the process is running.