From e17b7b67e86efda56e2114676d89d5a682fb55ec Mon Sep 17 00:00:00 2001 From: David Hall Date: Thu, 28 Mar 2024 14:10:29 -0600 Subject: [PATCH] Fixed WTSINFO.LastInputTime (#448) --- PInvoke/WTSApi32/WTSApi32.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PInvoke/WTSApi32/WTSApi32.cs b/PInvoke/WTSApi32/WTSApi32.cs index 00a88795..f78d62bf 100644 --- a/PInvoke/WTSApi32/WTSApi32.cs +++ b/PInvoke/WTSApi32/WTSApi32.cs @@ -3080,7 +3080,7 @@ public static partial class WTSApi32 public long LastInputTimeUTC; /// The time of the last user input in the session. - public DateTime LastInputTime => DateTime.FromFileTimeUtc(LogonTimeUTC); + public DateTime LastInputTime => DateTime.FromFileTimeUtc(LastInputTimeUTC); /// The time that the user logged on to the session. public long LogonTimeUTC;