bitburner-src/markdown/bitburner.ns.getpurchasedservers.md
2021-12-15 10:10:32 -07:00

24 lines
544 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; [getPurchasedServers](./bitburner.ns.getpurchasedservers.md)
## NS.getPurchasedServers() method
Returns an array with the hostnames of all of the servers you have purchased.
<b>Signature:</b>
```typescript
getPurchasedServers(): string[];
```
<b>Returns:</b>
string\[\]
Returns an array with the hostnames of all of the servers you have purchased.
## Remarks
2.25 GB