Get the version number of the server :return: Version of the server
()
| 206 | |
| 207 | |
| 208 | def server_version() -> int: |
| 209 | """ |
| 210 | Get the version number of the server |
| 211 | |
| 212 | :return: Version of the server |
| 213 | """ |
| 214 | if not is_connected(): |
| 215 | connect() |
| 216 | value = core.BNGetEnterpriseServerVersion() |
| 217 | if value == 0: |
| 218 | raise RuntimeError(last_error()) |
| 219 | return value |
| 220 | |
| 221 | |
| 222 | def server_build_id() -> str: |
nothing calls this directly
no test coverage detected