TsgcWebSocketServer_HTTPAPI › Properties › Version
Read-only string with the sgcWebSockets library version embedded in the binary.
property Version: String read GetVersion;
— (read-only, populated at build time)
Version returns the library version string (the build string produced by sgcWebSockets) and is useful when logging start-up information or when correlating client/server issues during support. The property is read-only; writing to it has no effect.
oServer := TsgcWebSocketServer_HTTPAPI.Create(nil);
ShowMessage('sgcWebSockets version: ' + oServer.Version);