bitburner-src/markdown/bitburner.ns.gethostname.md
Olivier Gagnon 43fc5dfd48 work on doc
2021-10-30 12:34:14 -04:00

495 B

Home > bitburner > NS > getHostname

NS.getHostname() method

Returns a string with the hostname of the server that the script is running on.

Signature:

getHostname(): Host;

Returns:

Host

Hostname of the server that the script is on.

Remarks

0.05 GB