Solved

get hardware specification on LAN

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
jquery progress bar 3 40
Winform Module - What is the ASP.Net equiv 2 19
How come this regular expression allows "e"? 14 35
C# LINQ ForEach() question 6 21
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

776 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