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

15 lines
385 B
ReStructuredText

getServerSecurityLevel() Netscript Function
===========================================
.. js:function:: getServerSecurityLevel(hostname)
:RAM cost: 0.1 GB
:param string hostname: Hostname of target server.
:returns: The security level of the target server.
Example:
.. code-block:: javascript
ns.getServerSecurityLevel("foodnstuff"); // returns: 3.45