• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Gpu and CPU information

Joined
Dec 1, 2007
Messages
528 (0.08/day)
Location
Karachi, Pakistan
System Name mAkS
Processor Intel Core 2 Duo E0 E8400 @3.0Ghz (Acheived 4.4Ghz On Stock Cooling)
Motherboard Asus P5K-V (Dead :[ )
Cooling CPU + Front + Rear + Side
Memory XMS2 DHX TWIN2X2048-6400C5DHX/800 BUS
Video Card(s) Inno3D 9600 GT Overclocked
Storage Seagate Sata II 250 GB ++ 500 GB
Display(s) Hp 2009f 20-inch Wide-screen
Case Legend
Audio Device(s) Build-In 8 CHannel (Dell 5.1")
Power Supply CoolerMaster 460W eXtreme Power Plus
Software Many
Benchmark Scores E8400 hardware rank 94th on hwbot in wPrime :D
How do I get GPU and CPU information in Visual C#??
 
Inside the System.Management and System.Management.Instrumentation namespaces are all the APIs for retrieving system hardware infromation.

Here is the main page from the MSDN library that lists all of the classes. You can access tons of system properties depending on what hardware you possess.

Make sure you put a good amount of exception handling in your code, or you are going to be feeling a lot of pain ;)
 
Last edited:
can I get GPU clocks :D
 
GPU-Z does it using C++ (If I recall correctly). I don't see why not.

I have not tried it myself, though.
 
do you have any example using C++? or may be C#?
 
Google How to get hardware information C#.

There are tons of examples of code. Maybe not GPU specifically, but it should start you in the right direction! :toast:

If you run into problems, let me know. I'll try to help you out.
 
I found GPU information in WMI Class but not its Clock and Memory
 
I found GPU information in WMI Class but not its Clock and Memory

Not sure if there is an easy way of reading that. From what I understand from W1z GPU-Z reads everything directly from the GPU via a driver he wrote. Isn't exporting from GPU-Z an option?
 
You may have to access internal GPU registers directly. I'm not sure.
W1zz may be able to shed a little light on the subject.
 
can some one ask him to shed ?
 
I am trying to create somewhat GPU performance calculator, for this reason I want to get details about the GPU, through the WMI Class I am able to get GPU Name, Driver, Memory etc.. But I want more details
 
I am trying to create somewhat GPU performance calculator, for this reason I want to get details about the GPU, through the WMI Class I am able to get GPU Name, Driver, Memory etc.. But I want more details

I don't really see how you would calculate it in the first place? What unit are you using for performance?
 
nothing different then in gpu-z,

I want to calculate fillrate (pixel, texture), bandwidth etc. (I know how to calculate but I need to read the clock settings etc.)
 
Programmers won't stop programming by saying "Microsoft is there why do we program?"
 
Interesting analogy considering you're using VS ;)

LOL ... He has a point though Dan. Many people re-invent the wheel to learn more about programming. Once they do, they find new things that other programs do not offer and incorporate them into their own offering.

That being said, I just use the latest utilities as I have enough on my plate already in the programming arena
 
LOL ... He has a point though Dan. Many people re-invent the wheel to learn more about programming. Once they do, they find new things that other programs do not offer and incorporate them into their own offering.

Absolutely Correct :rockout:
 
LOL ... He has a point though Dan. Many people re-invent the wheel to learn more about programming. Once they do, they find new things that other programs do not offer and incorporate them into their own offering.

I wasn't suggesting he didn't. Though I think it is relevant to know if he's making something for his boss that requires to work in a certain way or if he's just playing around.
 
not doing for boss :P

I want to learn hardware level programming....
 
so far got these info
 

Attachments

  • untitled.jpg
    untitled.jpg
    31 KB · Views: 768
Back
Top