diff options
| author | Josh Ferrell <josh@vector35.com> | 2025-02-10 15:57:20 -0500 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2025-02-10 16:45:25 -0500 |
| commit | b4e75ef9995500049f90a2569eee07c1b3505c21 (patch) | |
| tree | 1777804032d54d032701df1a3824ca78316d1a6a /collaboration.cpp | |
| parent | a4f00fbf5efd205cc8831ce8b6e7394c47f99a2f (diff) | |
Add API to get remote server build version
Diffstat (limited to 'collaboration.cpp')
| -rw-r--r-- | collaboration.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/collaboration.cpp b/collaboration.cpp index f154865a..db0f0c67 100644 --- a/collaboration.cpp +++ b/collaboration.cpp @@ -631,6 +631,15 @@ int Remote::GetServerVersion() } +std::string Remote::GetServerBuildVersion() +{ + char* buildVersion = BNRemoteGetServerBuildVersion(m_object); + std::string result = buildVersion; + BNFreeString(buildVersion); + return result; +} + + std::string Remote::GetServerBuildId() { char* buildId = BNRemoteGetServerBuildId(m_object); |
