TsgcWSPClient_MQTT › Properties › Guid
Unique identifier that binds this subprotocol instance to its WebSocket or broker connection.
property Guid: String read FGuid write FGuid;
Auto-generated on component creation
The Guid is assigned automatically in the constructor and is used internally to route frames between the TsgcWebSocketClient (or TsgcWSMQTTBroker) and the matching MQTT subprotocol instance. It is not the MQTT ClientIdentifier used on the wire: that value is supplied by the OnMQTTBeforeConnect event through its ClientIdentifier parameter. Do not modify Guid unless you are explicitly re-parenting the protocol component between connections.
ShowMessage('Protocol Guid: ' + MQTT.Guid);