sorry for the late reply.
There are 2 possibilities for doing this: You can get access to the OS's performance counters. That's quite ugly to do, but works. Alternatively you can use "GetProcessTimes" (or "IProcess.GetTimes"). Call this twice with a delay in between and then you can see the difference between the reported times and calculate the CPU consumption from that information.