Skip to content

Commit

Permalink
Modified documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Loic Coulet committed Aug 10, 2015
1 parent 62be466 commit 3657645
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AutoLogOff/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private void DoWork()
{
int elapsedIdelTime=GetLastInputTime();
this.setIdleLabel(elapsedIdelTime);
if (elapsedIdelTime > 60 * NumberOfMinutesBeforeLogoff) //30 min idle time
if (elapsedIdelTime > 60 * NumberOfMinutesBeforeLogoff)
{
ExitWindowsEx(0x10, 0);
_shouldStop = true;
Expand Down
3 changes: 2 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ By default the delay is to log off user after 30 minutes Idle time.
The setting can be override by creating a system environment variables named `AUTOLOGOFF_NB_IDLE_MINUTES`


Tested on Windows 7 and Windows Server 2012 R2.

Tested on **Windows 7** and **Windows Server 2012 R2** Operating systems.

0 comments on commit 3657645

Please sign in to comment.