I am writting a keylogger in c# but it is able to capture keystroked only when it's form is active.
When i hide the form,it works no more.I searched and was told to have a global hook on the keyboard but i don't know how to do it.
pls help me
Loading
Bechir BejaouiPosted Sep 14, 2008, 11:50 AM
RegistryKey oRegistryKey = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", true); rkApp.SetValue("MyApp",Application.ExecutablePath.ToString());
dont forget to add System.Win32 namespace
If it doesn't work then write me again and tell me exactly what happens