Closed AgentDove closed 8 months ago
Describe the bug and how to reproduce
public DateTime LastInputTime => DateTime.FromFileTimeUtc(LogonTimeUTC); Should be public DateTime LastInputTime => DateTime.FromFileTimeUtc(LastInputTimeUTC);
public DateTime LastInputTime => DateTime.FromFileTimeUtc(LogonTimeUTC);
public DateTime LastInputTime => DateTime.FromFileTimeUtc(LastInputTimeUTC);
What code is involved
https://github.com/dahall/Vanara/blob/7de0f5301480fc4126c5bebe0a2dd25d2c2f0886/PInvoke/WTSApi32/WTSApi32.cs#L3020
Expected behavior
LastInputTime should be derived form LastInputTimeUTC and not LogonTimeUTC
Fixed in nullable branch. Will release in 4.0 package push shortly.
Describe the bug and how to reproduce
public DateTime LastInputTime => DateTime.FromFileTimeUtc(LogonTimeUTC);
Should bepublic DateTime LastInputTime => DateTime.FromFileTimeUtc(LastInputTimeUTC);
What code is involved
https://github.com/dahall/Vanara/blob/7de0f5301480fc4126c5bebe0a2dd25d2c2f0886/PInvoke/WTSApi32/WTSApi32.cs#L3020
Expected behavior
LastInputTime should be derived form LastInputTimeUTC and not LogonTimeUTC