Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 70135
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T19:41:00+00:00 2026-05-10T19:41:00+00:00

What are some ways that I can query the local machine’s specifications (a range

  • 0

What are some ways that I can query the local machine’s specifications (a range of things from CPU specs, OS version, graphics card specs and drivers, etc.) through a programmatic interface? We’re writing a simple app in C# to test compatibility of our main app and want to have it dump out some system metrics, but I can’t seem to find where to even start, what interfaces to use, libraries, anything.

I’ve tried all kinds of searches, but can only find programs, and GUI ones at that, which require a user to interact with, or have to install.

Alternatively, a small, command-line program would work just as well, as long as we’d be permitted to distribute it with the test app.

I have found one program that gets some of the specs I’d want, PsInfo. However, it seems to require each user to agree to some license when it is first run, even though it’s a command line app. Plus, it only deals with OS/CPU info, and I will need more than that.

Also: forgot to mention explicitly, but this indeed is only going to be necessary for Windows machines. You folks are quick!

Edit: This WMI does look like what I need, thanks! Quite a can of worms though, so I’ve got to dive in. It mentions that for some things the user has to have administrator privileges; this probably won’t be a big problem, but it might limit it a little.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T19:41:00+00:00Added an answer on May 10, 2026 at 7:41 pm

    For this type of information WMI is your friend. Fortunately dealing with WMI in .NET is much easier than in the unmanaged world. There are quite a lot of articles out there to get started with, like this one, or this one to retrieve processor information.

    You will end up writing SQL-like queries against objects in the WMI namespace to retrieve the information you want.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

It seems to me that, in some ways, Java is where C was a
I have some Java code that uses curly braces in two ways // Curly
I display some objects that have thumbnails in two ways: one in a DataGridView,
Can you suggest some ways/tips to decrease Resharper memory usage in VS 2008. Working
Closed as duplicate of What are some ways to protect emails on websites from
Is there a way that I can create query against a data source (could
I'm implementing a service that has several different ways it can be accessed: Using
I have access to some images that can be gathered like this: http://www.example.com/imageGetter.php?a=0001 If
Some ways to iterate through the characters of a string in Java are: Using
I know there are some ways to get notified when the page body has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.