system info?

  • Thread starter Thread starter pnp
  • Start date Start date
P

pnp

How could I get information about

- the HD serial
- the CPU speed & type
- Motherboard model
- MAC address
- RAM amount
- OS major & minor version

from the framework without the use of WMI?
 
There are two areas you can look at.

The first is WMI using the System.Management Namespace. Take a look at
http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemManagement.asp

Secondly look at the SystemInformation Class. Take a look at
http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemWindowsFormsSy
stemInformationClassTopic.asp
nice example usage here
http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemWindowsFormsSy
stemInformationClassComputerNameTopic.asp

I use some of the WMI in an example app here.
http://www.publicjoe.f9.co.uk/csharp/snip/snip003.html

Hope this helps

Publicjoe
C# Tutorial at http://www.publicjoe.f9.co.uk/csharp/tut.html
C# Snippets at http://www.publicjoe.f9.co.uk/csharp/snip/snippets.html
C# Ebook at http://www.publicjoe.f9.co.uk/csharp/samples/ebook.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top