mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-14 03:33:52 +01:00
486 B
486 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(): string;
Returns:
string
Hostname of the server that the script is on.
Remarks
RAM cost: 0.05 GB