How to Get Client Computer Name in Server ComputerHow to Get Client Computer Name in Server Computer
Old forum URL: forums.lhotka.net/forums/t/5702.aspx
sanwar369 posted on Thursday, October 30, 2008
Hi every body
I am Mr Anwar, I am in problem of CSLA project implimentation. I have implimented Remoting based CSLA project. Now I need the Cilent Computer Name to the server side. Pls tell me What is the method to get the client machine name in server machine.
Your wisher
Anwar Hossain
robert_m replied on Thursday, October 30, 2008
I think there's no "out of the box" method in CSLA for this, but you can use ApplicationContext.ClientContext to transfer this information from client to server...JoeFallon1 replied on Thursday, October 30, 2008
When the user logs in you can optionally decide to store the client computer name in their Principal/Identity. This object travels to the server too so it is always available.
Joe
sanwar369 replied on Saturday, November 01, 2008
Hi Joe
Thanks for your help. I got the problem solved from you valuable advice.
Anwar
Copyright (c) Marimer LLC