bitburner-src/markdown/bitburner.ns.gethostname.md
omuretsu 06a985bdf8 Revert "Remove markdown from git tracking (#139)"
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
2022-10-21 11:16:00 -04:00

24 lines
486 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(): string;
```
<b>Returns:</b>
string
Hostname of the server that the script is on.
## Remarks
RAM cost: 0.05 GB