Utility Functions and C Language Reference > Utility Functions: .NET (lr.) > Alphabetical Listing > lr.get_host_name

lr.get_host_name

Returns the name of the host.

C#

string lr.get_host_name();

VB.NET

Function lr.get_host_name( ) as String
Example: lr.get_host_name Informational Functions

Arguments

Name Comments
N/A

The lr.get_host_name function returns the name of the computer executing the script.

Return Values

The name of the host, or null if the operation fails.

Parameterization

Standard parameterization is not available for this function.