Solved

get hardware specification on LAN

Posted on 2008-11-02
2
634 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 500 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

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
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.…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

728 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