TsgcWebSocketServerProperties › Version

Version Property

Read-only string with the sgcWebSockets library version embedded in the binary.

Syntax

property Version: String read GetVersion;

Default Value

— (read-only, populated at build time)

Remarks

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.

Example


oServer := TsgcWebSocketServer.Create(nil);
ShowMessage('sgcWebSockets version: ' + oServer.Version);

Back to Properties