ClientName from C#

Mar 27 2006 3:33 PM
I am on my 2nd c# app and have a question. I would like to acquire the "clientname" from my Windows2k3 server. I currently get the server's "computername" via this.strMachineName = Environment.MachineName.ToString(). I would like to get the "clientname", the client which is connected to the server. I can see the data by running from a server command prompt, "set". Is there a C# function or class that would have this? I've looked at SystemInformation and the environment class with no luck. Thanks

Answers (3)