0

I want to gather user local machine hardware information for IT inventory for my organization. I want to develop single page ASP.NET website using C# where user may click and code will gather all information like processor details, hard disk drive details, RAM, and all motherboard details.

1

1 Answer 1

1

1 - Install System.Management using package manager and then code as below.

ManagementObjectCollection moc = mc.GetInstances();
string id = string.Empty;
foreach (ManagementObject mo in moc)
   {
    id = mo.Properties["processorID"].Value.ToString();
    break;
   }

We have many link to find hardware details, as below. https://www.codeproject.com/Articles/18268/How-To-Almost-Everything-In-WMI-via-C-Part-3-Hardw

https://codescratcher.com/windows-forms/get-computer-hardware-information-using-c/

https://www.codeproject.com/Articles/18146/How-To-Almost-Everything-In-WMI-via-C-Part-2-Proce

Sign up to request clarification or add additional context in comments.

3 Comments

is it gives client side hardware configuration? because I think the above links are showing only deployed computers detail. Am I right? I want asp.net code to get client information.
you mean whoever access your web application
Yes. anyone from my organization who will access my application, application will capture users' system information.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.