Is it possible to check pressed keys in a Console Application in any other way than Console.ReadKey()
?
I've changed the project settings to Windows Application so that the console window won't show. But if the console window isn't shown the application crashes since Console.ReadKey()
requires a console window. Is there any workaround?
NOTE: I don't want any window open, just track a key-press, through a thread.