3
Answers

ClientName from C#

Corey Tracey

Corey Tracey

18y
6.7k
1
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)