mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-04 21:43:48 +01:00
15 lines
402 B
ReStructuredText
15 lines
402 B
ReStructuredText
getServerMinSecurityLevel() Netscript Function
|
|
==============================================
|
|
|
|
.. js:function:: getServerMinSecurityLevel(hostname)
|
|
|
|
:RAM cost: 0.1 GB
|
|
:param string hostname: Hostname of target server.
|
|
:returns: The minimum security level of the target server.
|
|
|
|
Example:
|
|
|
|
.. code-block:: javascript
|
|
|
|
ns.getServerMinSecurityLevel('foodnstuff'); // returns: 3
|