Hi.
Not sure if the .NET platform has exactly what's needed; however, since you
are familiar with that function, you could certainly use P/Invoke (Interop)
to call it.
John
> What I need to be able to detect is when the CPU or CPUs of a system are idle
> or no more than 10% busy. Back in my C++ days we used
> NtQuerySystemInformation. Is there an easier way built into the .Net
> Platform or C#?
Enzo - 10 Jan 2005 03:41 GMT
P/Invoke would require special security permissions.
I am working with Performance Counters at the moment but I need a way to
handle multiple CPUs
> Hi.
>
[quoted text clipped - 9 lines]
> > NtQuerySystemInformation. Is there an easier way built into the .Net
> > Platform or C#?