bitburner-src/doc/source/netscript/basicfunctions/getServerSecurityLevel.rst

15 lines
385 B
ReStructuredText
Raw Normal View History

getServerSecurityLevel() Netscript Function
===========================================
2021-03-12 08:51:56 +01:00
.. js:function:: getServerSecurityLevel(hostname)
:RAM cost: 0.1 GB
2021-03-12 08:51:56 +01:00
:param string hostname: Hostname of target server.
:returns: The security level of the target server.
2021-03-12 08:51:56 +01:00
Example:
.. code-block:: javascript
2023-01-06 13:43:09 +01:00
ns.getServerSecurityLevel("foodnstuff"); // returns: 3.45