开发者

RemObjects SDK - how to retrieve client GUID from server when connecting to server?

开发者 https://www.devze.com 2023-04-10 13:42 出处:网络
Does somebody know how to retrieve client GUID when connecting to server in RemObjects SDK ? (using Supe开发者_开发知识库rTCP/IP protocol)To get the session ID of the current connection on the server,

Does somebody know how to retrieve client GUID when connecting to server in RemObjects SDK ? (using Supe开发者_开发知识库rTCP/IP protocol)


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号