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)
0
Can you let me know how you are populating data in the repeater in the code behind. If you are using a datatable it will be quite easy to build. Let me know.