远程 - 关于客户的信息。 C# [英] remoting - information about the client. c#

查看:157
本文介绍了远程 - 关于客户的信息。 C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能找出/ .NET的2.0远程使用时获得有关连接的客户端的一些信息?我想知道获得有关在服务器端连接客户端的一些信息,这样我就可以采取相应的行动?这是一个小的,非常的本地应用程序从未将有更多的则最多10个同时连接/请求的客户端。

Is it possible to find out / get some information about the connecting client when using remoting on .net 2.0? I like to know get some information about the connecting client on the server side, so I can act accordingly? This is a small and very local application that Never will have more then max 10 simultaneously connecting/requesting clients.

在各功能传递客户端的参考? (或一些标识符)?我能做到这样,但我宁愿只得到从请求/连接客户端的信息。 IP地址或类似的将是很好。

pass client reference in each function? (or some identifier)? I could do it this way, but I would prefer to just get the information from the request/connecting client. Ip-address or similar would be nice.

问候

推荐答案

看看我提供了一个类似的问题

一个.NET远程调用过程中识别客户端(答案)

这篇关于远程 - 关于客户的信息。 C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆