Solved

WMI device detection

Posted on 2003-10-23
5
768 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
Comment Utility
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
Comment Utility
Have you been able to make any progress with the router/hub detection?
0
 
LVL 41

Expert Comment

by:graye
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Article by: Ivo
Anonymous Types in C# by Ivo Stoykov Anonymous Types are useful when  we do not need to follow usual work-flow -- creating object of some type, assign some read-only values and then doing something with them. Instead we can encapsulate this read…
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 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

12 Experts available now in Live!

Get 1:1 Help Now