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

24 lines
495 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [NS](./bitburner.ns.md) &gt; [getHostname](./bitburner.ns.gethostname.md)
## NS.getHostname() method
Returns a string with the hostname of the server that the script is running on.
<b>Signature:</b>
```typescript
getHostname(): Host;
```
<b>Returns:</b>
[Host](./bitburner.host.md)
Hostname of the server that the script is on.
## Remarks
0.05 GB