?
Solved

get hardware specification on LAN

Posted on 2008-11-02
2
Medium Priority
?
636 Views
Last Modified: 2010-05-18
I want to get IP, hardware specification(CPU, H.D.D,Ram,VGA,M.B) of computers in LAN (local area network) with asp.net
0
Comment
Question by:farhadtolooie
[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 Comments
 

Author Comment

by:farhadtolooie
ID: 22861005
and how to get computername of those computers?
thanks
0
 
LVL 41

Accepted Solution

by:
graye earned 2000 total points
ID: 22861665
This can be done with Windows Management Instrumentation (WMI),
But quite frankly... ASP.Net is probably a poor choice.   By default, a web page is designed to have only the exact amount of permissions to perform actions on the web server.  It therefore, doesn't have the proper permissions to "poll the network" via WMI.   Yes, you could probably alter a bunch of web settings and permissions, but there is a better way.
An alternative approach is to create a standalone application (or web/windows service) that collects the data, then exposes that data to the Web page thru an interface.
Take a look at the following article for an introduction to WMI that show how you can collect the data:  http://home.hot.rr.com/graye/Articles/WMI_Intro.htm
If you're up to a bit a reading, you can also down load the entire VB.Net source code to an WinForm application, called SOSOS, that collects exactly that type of data over the network and stores it in a database.  OK, I'll admit, it's a bit of overkill, but you will probably be able to use it has an example: http://home.hot.rr.com/graye/Articles/SOSOS.htm
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
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…

752 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