Action
Returns the name of the specified machine.
Syntax
sName = GetMachineName ([hMachine])
Variable
|
Description
|
sName
|
A STRING containing the name of the machine. STRING.
|
hMachine
|
Optional. The handle to the machine whose name you want. Default
is the current machine. HMACHINE.
|
Notes
GetMachineName returns the name of the machine specified by the
hMachine handle. This is
the same name that was either entered in the Agent Name text box in
the Runtime Options dialog box, or passed to the Connect function.