I'm trying to create a keylogger in C# that shows the text that is typed in a RichTextBox
and show running apps that are opened in a period of time. E.g. An image in a ListView
that contains the icons of apps that are opened in a time and the text typed in a RichTextBox
. I've done the keylogging keystrokes recording, but this ListView
problem is what I can't hack. Here is what I temporarily have:
private void button1_Click(object sender, EventArgs e)
{
string appName = Application.ProductName;
MessageBox.Show(appName);
//To find the name of the executable
appName = Path.GetFileName(Application.ExecutablePath);
MessageBox.Show(appName);
}
This would only show it in a MessageBox
, and contains the name and path of the file running only. Not all applications that are running. Any suggestions?