Solved

WMI device detection

Posted on 2003-10-23
5
776 Views
Last Modified: 2010-08-05
Hi there, I'm doing a program to detect LAN devices - including PC, routers, hubs, printers etc. I'm supposed to display all these devices in a treeview, and when I click on the name of the device, it shall then display the necessary info. Please provide any relevant info. Urgent help is needed. Thanks in advance.
0
Comment
Question by:shellylai
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 41

Accepted Solution

by:
graye earned 250 total points
ID: 9614988
Wow... OK... where to start....

WMI will be useful in getting PC-related information (RAM, hard drive, shares, etc).

But WMI will not do anything for you with regard to routers, hubs, etc.  Detecting network infastructure is a bit more complex.  Things would be a lot easier if each infastructure device had SNMP drivers, HP Openview, etc

Enumerating windows domain devices require API calls, there is no .Net framework way to do it.

I've got a program (written in VB.Net) that does a lot of WMI work (to include a section on enumerating devices).  You might find it usefull as an example.  ftp://ftp.dpw.hood.army.mil/programs/sosos
0
 

Expert Comment

by:Xylek
ID: 10832750
Have you been able to make any progress with the router/hub detection?
0
 
LVL 41

Expert Comment

by:graye
ID: 10832930
Nope... and remote system detection is getting harder and harder to do now, due to security concerns.   There used to be a common method of collect respones to IP probing (called signatures), but the concern over security has just about eliminated all of those methods.

The only thing left is to use Simple Network Management Protocol (SNMP) to hunt for active responses... but even that won't work in a "hardend" environment.

Sorry
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question