.
C# Signature:
[DllImport("user32.dll")]
static extern bool GetLastInputInfo(out LASTINPUTINFO plii);
User-Defined Types:
LASTINPUTINFO
Notes:
Very usefull to detect user-idle state of an application
Tips & Tricks:
Please add some!
Sample Code:
Please add some!
Alternative Managed API:
Do you know one? Please contribute it!
Gets the time of the last user input (in ms since the system started)
11/10/2020 12:41:36 PM - -70.130.76.223
The LASTINPUTINFO structure contains the time of the last input.
5/7/2017 5:16:37 AM - dreijer-75.73.43.6