bitburner.ns.gethostname.md

February 11, 2023 ยท View on GitHub

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 runs on.

Remarks

RAM cost: 0.05 GB

Contents

  1. 1NS.getHostname() method
  2. 2Remarks