-2
good morning
I did a little program where it shows the typed key, it’s pretty simple , just so I can learn how to use Windows form application. My goal was that when running another app , for example the word , it appeared on the keys that were being typed , but when opening another window it stops to capture. Obs: it’s my first/second time doing a post , pardon if it got mischievous.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace prj1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
this.TopMost = true;
}
private void button1_KeyPress(object sender, KeyPressEventArgs e)
{
lbl1.Text = e.KeyChar.ToString();
}
private void bnt1_Click(object sender, EventArgs e)
{
Application.Exit();
}
}
}
There are security issues involved in this case... What you describe is a Keylogger... why you want to capture typing out of your application?
– Leandro Angelo
Because a friend of mine does live on Witch , and he broke the web cam , and not to get an open space , he wanted something that showed what he is typing and clicking the mouse , I found programs on the internet that do it quietly , but wanted to learn
– João Melo