mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-14 11:43:50 +01:00
15 lines
385 B
ReStructuredText
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
|