lr.get_host_name

Returns the name of the host.

JavaScript

function lr.get_host_name( )

VBScript

Function lr.get_host_name( )
Informational Functions

The lr.get_host_name 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

Standard parameterization is not available for this function.

VBScript Example

In the following example, the lr.get_host_name function retrieves the name of the station.

    Dim my_host As String
    my_host = lr.get_host_name( )