mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 03:23:48 +01:00
752 B
752 B
Home > bitburner > NS > getServerSecurityLevel
NS.getServerSecurityLevel() method
Get server security level.
Signature:
getServerSecurityLevel(host: string): number;
Parameters
Parameter | Type | Description |
---|---|---|
host | string | Hostname of target server. |
Returns:
number
Security level of the target server.
Remarks
RAM cost: 0.1 GB
Returns the security level of the target server. A server’s security level is denoted by a number, typically between 1 and 100 (but it can go above 100).