TsgcWebSocketServer › 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 (e.g. the build string produced by sgcWebSockets) and is useful when logging startup information or when correlating client/server issues during support. The property is read-only; writing to it has no effect.
oServer := TsgcWebSocketServer.Create(nil);
ShowMessage('sgcWebSockets version: ' + oServer.Version);