MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / server_id

Function server_id

python/enterprise.py:194–205  ·  view source on GitHub ↗

Get the internal id of the server :return: Id of the server

()

Source from the content-addressed store, hash-verified

192
193
194def server_id() -> str:
195 """
196 Get the internal id of the server
197
198 :return: Id of the server
199 """
200 if not is_connected():
201 connect()
202 value = core.BNGetEnterpriseServerId()
203 if value is None:
204 raise RuntimeError(last_error())
205 return value
206
207
208def server_version() -> int:

Callers

nothing calls this directly

Calls 3

is_connectedFunction · 0.85
connectFunction · 0.85
last_errorFunction · 0.85

Tested by

no test coverage detected