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

Function active_remote

python/collaboration/__init__.py:24–35  ·  view source on GitHub ↗

Get the single actively connected Remote (for ux simplification) :return: Active Remote, if one is set. None, otherwise.

()

Source from the content-addressed store, hash-verified

22
23
24def active_remote() -> Optional['Remote']:
25 """
26 Get the single actively connected Remote (for ux simplification)
27
28 :return: Active Remote, if one is set. None, otherwise.
29 """
30 binaryninja._init_plugins()
31 value = core.BNCollaborationGetActiveRemote()
32 if value is None:
33 return None
34 result = Remote(handle=value)
35 return result
36
37
38def set_active_remote(remote: Optional['Remote']):

Callers

nothing calls this directly

Calls 1

RemoteClass · 0.70

Tested by

no test coverage detected