bitburner-src/markdown/bitburner.ns.getserverbasesecuritylevel.md
Olivier Gagnon feb0430aff work on doc
2021-10-30 15:46:34 -04:00

1010 B

Home > bitburner > NS > getServerBaseSecurityLevel

NS.getServerBaseSecurityLevel() method

Returns the base security level of the target server. This is the security level that the server starts out with. This is different than getServerSecurityLevel because getServerSecurityLevel returns the current security level of a server, which can constantly change due to hack, grow, and weaken, calls on that server. The base security level will stay the same until you reset by installing an Augmentation(s).

Signature:

getServerBaseSecurityLevel(host: string): number;

Parameters

Parameter Type Description
host string Host or IP of target server.

Returns:

number

Base security level of the target server.

Remarks

RAM cost: 0.1 GB