bitburner-src/doc/source/netscript/basicfunctions/getServerMinSecurityLevel.rst
2023-01-06 14:43:09 +02:00

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