Solved

get hardware specification on LAN

Posted on 2008-11-02
2
628 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
Comment Utility
and how to get computername of those computers?
thanks
0
 
LVL 41

Accepted Solution

by:
graye earned 500 total points
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

763 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

10 Experts available now in Live!

Get 1:1 Help Now