Is it possible to get the cilent computer's IP in the log?

Topics: Silverlight Integration Pack
Sep 22, 2011 at 10:38 AM


entlib silverlight logging block's problem again.

Is it possible for the log server to get the client side's information(such as ip, computer name.....),

so that I can separate the log from different Clients.


Sep 22, 2011 at 11:06 AM


Yes you can, but you're gonna have to implement your way of getting the client's IP. For example, you can use Context.UserHostAddress. More info here:

Sep 22, 2011 at 11:11 AM

Additional information: Your client may be hiding behind a NAT or proxy, so if you wanted to separate the log from different clients, do not be too surprised if you get more than one IP address but with the same user (that is, if you have authentication in your app).

Sep 22, 2011 at 11:13 AM

Thank you so much!

Sep 22, 2011 at 11:24 AM

I got your back ;-)