Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

WMI device detection

Posted on 2003-10-23
5
Medium Priority
?
779 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 1000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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!
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

722 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