Share this page

# lr.getHostName

Returns the name of the host.

Informational Functions

## Syntax

    lr.getHostName( );

The lr.getHostName function returns the name of the machine executing the script.

## Return Values

On success, returns the name of the host. On failure, returns NULL.

## Parameterization

You cannot use standard parameterization for any arguments in this function.

## Example

    function Action(){
       var myHost = lr.getHostName();
       lr.outputMessage(myHost);
    return 0;
    }

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: