Is it possible to 'talk' to servers in a Windows intranet and pull information? (.Net 4.0)
I am attempting to make a program that will pull data such as OS, IP, Server Name, Websites, Databases,开发者_如何学Python etc. in a server farm. Is there a .Net library that allows you to connect to servers and get information such as this with the proper authentication? I do not really know where to start, thank you.
Most of the servers are 2003 standard/enterprise both x86 and x64.
Yes it's called WMI (Windows management and instrumentation). Here is a link to use WMI in .net.
Won't you need to know the server name or IP address before hand to connect to the server to get the rest of the info?
精彩评论