Get Remote by unique id :param id: Unique id of the Remote :return: Remote, if known, else None
(id: str)
| 97 | |
| 98 | |
| 99 | def get_remote_by_id(id: str) -> Optional['Remote']: |
| 100 | """ |
| 101 | Get Remote by unique id |
| 102 | |
| 103 | :param id: Unique id of the Remote |
| 104 | :return: Remote, if known, else None |
| 105 | """ |
| 106 | binaryninja._init_plugins() |
| 107 | value = core.BNCollaborationGetRemoteById(id) |
| 108 | if value is None: |
| 109 | return None |
| 110 | result = Remote(handle=value) |
| 111 | return result |
| 112 | |
| 113 | |
| 114 | def get_remote_by_address(address: str) -> Optional['Remote']: |