Function 5E00h          Get Machine Name                             DOS 3.1+

Returns the network name of the local computer (machine).

Entry AX = 5E00h
DS:DX = Pointer to a 16-byte memory buffer

Return If CH > 0
CL = NetBIOS number
Machine name copied to buffer (blank-padded ASCIIZ)
endif
or
AX = Error code, if CF is set
| 01h Invalid function (Network not running)

──────────────────────────────────────────────────────────────────

This function returns an error value of 01h (invalid function) if
the network is not running. If the network was never installed, a
zero is returned in the CH register.