开发者

RemObjects SDK - how to retrieve client GUID from server when connecting to 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜