Solved

WMI device detection

Posted on 2003-10-23
5
769 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

861 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now