Groups | Blog | Home
all groups > dotnet remoting > february 2007 >

dotnet remoting : Getting details of client who calls remote object


Stuart Parker
2/8/2007 4:22:21 PM
Hi,

I have a windows service hosting a remote object as a singleton.
Is there any way the remote object can obtain details of the client invoking
it.... for example IP address etc.
Or is it so transparent that it doesn't know?

Obviously one way would be to pass the details from the client to the server
by way of a parameter in a method call, but was looking to see it the
infrastructure allows interrogating the incoming request.

Cheers
Stu
Spam Catcher
2/8/2007 10:36:52 PM
"Stuart Parker" <no_chance@hell.com> wrote in
news:59683803-89A9-49F4-91B0-38EC909FAC74@microsoft.com:

[quoted text, click to view]

The built in channels are pretty much transprent.

Rowen
2/12/2007 8:40:03 PM
[quoted text, click to view]

have a look at generating custom sinks to plug into your solution

e.g. http://www.codeproject.com/csharp/customsinks.asp

At the least it will give you a better understanding of what is going
on beneath the surface

Rowen
AddThis Social Bookmark Button