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
Solved

WMI device detection

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
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!
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

808 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