is a .NET component library that helps you track user inactivity and take action after a specific period of idle time, whether it’s system-wide (across all applications) or specific to a single application. It works seamlessly with both WinForms and WPF applications by keeping an eye on user interactions like keyboard and mouse activity. If the user stops interacting with the system, the inactivity timer starts counting, and actions can be triggered once it reaches the set time. This allows developers to handle events based on inactivity in their applications easily.
The component distinguishes between two types of inactivity: System Idle Time and Application Idle Time. System Idle Time is when there’s no user activity across the whole computer, while Application Idle Time refers to inactivity within a particular program. ZylIdleTimer.NET has been built entirely in C# and relies on .NET Framework and API calls. From .NET Framework 2.0 onwards, you’ll need to use the invoke method to update UI elements from the timer events, ensuring smooth integration with modern .NET projects.
ZylIdleTimer.NET is easy to install and includes demo programs in both C# and VB.NET, compatible with a wide range of Visual Studio versions, from 2013 to 2022. The demo version is fully functional but comes with a nag screen, which is removed in the licensed version. Installation involves adding a reference to the provided DLL file and declaring an instance of the component in your application.