Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WTSApi32: Wrong variable used to create dateTime #448

Closed
AgentDove opened this issue Mar 14, 2024 · 1 comment
Closed

WTSApi32: Wrong variable used to create dateTime #448

AgentDove opened this issue Mar 14, 2024 · 1 comment

Comments

@AgentDove
Copy link

Describe the bug and how to reproduce

public DateTime LastInputTime => DateTime.FromFileTimeUtc(LogonTimeUTC);
Should be
public DateTime LastInputTime => DateTime.FromFileTimeUtc(LastInputTimeUTC);

What code is involved

public DateTime LastInputTime => DateTime.FromFileTimeUtc(LogonTimeUTC);

Expected behavior

LastInputTime should be derived form LastInputTimeUTC and not LogonTimeUTC

dahall added a commit that referenced this issue Mar 28, 2024
@dahall
Copy link
Owner

dahall commented Mar 28, 2024

Fixed in nullable branch. Will release in 4.0 package push shortly.

@dahall dahall closed this as completed Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants