mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 23:53: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
|