Buliding a program similiar to "task manager" in windows

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
 
L

Lloyd Dupont

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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top