Buliding a program similiar to "task manager" in windows

  • Thread starter Thread starter G_Zola
  • Start date Start date
G

G_Zola

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_0_0_0_0/dotnet-framework.htm

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com
 
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...
 
Back
Top