Is it possible to 'talk' to servers in a Windows intranet and pull information? (.Net 4.0)

StackOverflow https://stackoverflow.com/questions/2949063

  •  05-10-2019
  •  | 
  •  

سؤال

I am attempting to make a program that will pull data such as OS, IP, Server Name, Websites, Databases, 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?

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top