mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 14:42:28 +01:00
31 lines
803 B
Markdown
31 lines
803 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getServerBaseSecurityLevel](./bitburner.ns.getserverbasesecuritylevel.md)
|
|
|
|
## NS.getServerBaseSecurityLevel() method
|
|
|
|
Get the base security level of a server.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
getServerBaseSecurityLevel(host: string): number;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| host | string | Host of target server. |
|
|
|
|
**Returns:**
|
|
|
|
number
|
|
|
|
Base security level of the target server.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 0.1 GB Returns the base security level of the target server. For the server's actual security level, use [ns.getServerSecurityLevel](./bitburner.ns.getserversecuritylevel.md)<!-- -->.
|
|
|