I think you've to look at something like:
System.Diagnostics.PerformanceCounter
The only thingh I found kind of frustrating last time I used them, is that
some stage you have to use counter name.
And to find name for existing counter (such as the one used by the task
manager) it's quite poorly documented...
"G_Zola" <(E-Mail Removed)> wrote in message
news:dc4ec520-815b-4cee-9781-(E-Mail Removed)...
> Suppose a process notepad.exe has started. I like to know how to detect a
> period of inactivity of a user for that process, for instance how long the
> user has not entered anything into notepad.Maybe System.Diagnostics can
> solve this problem but i did not find much information on the
> websites.Hope to gather some advice here.
>
> Thanks a lot
>
> From http://www.developmentnow.com/g/6_0_...-framework.htm
>
> Posted via DevelopmentNow.com Groups
> http://www.developmentnow.com