Ive seen many solutions online but none does exactly what I want. What is the best/simplest way to get any keys pressed in a given process (not my console applicaton) while
What you're looking for is called a global keyboard hook. You can find more information and examples on MSDN.