lr.get_host_name
Returns the name of the host.
String lr.get_host_name( ); | Informational Functions | Java Syntax |
The lr.get_host_name function returns the name of the machine executing the script.
Return Values
This function returns the name of the host if the operation is successful and NULL if the operation fails. The return value is a pointer to static data and should only be read, not altered.
Parameterization
You cannot use standard parameterization for any arguments in this function.
Example
In the following example, the lr.get_host_name function retrieves the name of the host.
String my_host = lr.get_host_name( );

