Question

Does somebody know how to retrieve client GUID when connecting to server in RemObjects SDK ? (using SuperTCP/IP protocol)

Was it helpful?

Solution

To get the session ID of the current connection on the server, use SessionID property:

SessionIDString := GUIDToString(Session.SessionID);

The Session object is found in the uROSessions unit.

To get the session ID on the client, use ClientID property:

SessionIDString := GUIDToString(RemoteService.Message.ClientID);

RemoteService is your connection's TRORemoteService object.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top