Menu

#1 username changed on lock

open
nobody
None
5
2008-09-15
2008-09-15
No

It seems that the function
private void SensLogon_DisplayLock(string userName) in Form1.cs
,among others,
gets called with "DOMAIN\username", whereas Environment.username is just "username". This makes the program ignoring the event and continue counting time during lock and screensaver.

The patch is to check for a slash and remove everything before and including it if it is present.

Discussion


Log in to post a comment.