Solved

get hardware specification on LAN

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

735 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