mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +01:00
15 lines
399 B
ReStructuredText
15 lines
399 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
|
|
|
|
getServerMinSecurityLevel('foodnstuff'); // returns: 3
|