C# Class Tp.Integration.Ide.VisualStudio.Services.IdleTracker

Monitors when a user is idle, i.e he/she does not use computer, i.e. when screen saver is running, or when desktop is locked, or when keyboard or mouse is not used for some time.
Inheritance: IDisposable
Mostrar archivo Open project: TargetProcess/Tp.Integration.Ide.VisualStudio

Public Methods

Method Description
Dispose ( ) : void
Dispose ( bool disposing ) : void
IdleTracker ( int pollInterval, int notifyInterval ) : System

Creates new IdleTracker instance.

Private Methods

Method Description
TimerElapsed ( object sender, System.Timers.ElapsedEventArgs ev ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() public method

public Dispose ( bool disposing ) : void
disposing bool
return void

IdleTracker() public method

Creates new IdleTracker instance.
If poll interval is greater than notify interval.
public IdleTracker ( int pollInterval, int notifyInterval ) : System
pollInterval int Poll interval in seconds.
notifyInterval int User idle time interval in seconds.
return System