MrLucky Posted March 17, 2006 Posted March 17, 2006 Is it possible to get some hardware info of the current computer in C#? Such as CPU Load, Total RAM, RAM Free, Hard disk space etc.. Thanks in advance :) Quote
Leaders Iceplug Posted March 18, 2006 Leaders Posted March 18, 2006 There is the API [api]GlobalMemoryStatus[/api] - maybe that'll help you, at least with with the RAM and [api]GetDiskFreeSpace[/api]... they're in VB6, maybe you can convert them to C#. :confused: Quote Iceplug, USN One of my coworkers thinks that I believe that drawing bullets is the most efficient way of drawing bullets. Whatever!!! :-(
Administrators PlausiblyDamp Posted March 18, 2006 Administrators Posted March 18, 2006 System.Diagnostics.PerformanceCounter can be used to access the standard Performance Monitor stats - that may be suitable for you. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.