1

Currently I'm working on a project that requires me to get keyboard input from another application not written in C# or .NET for that matter.

Let's say I'm in a game (The game is written in C++), and I want to activate something in my program, so I tell my program to activate when I press a key in the game.

I want to make the activation key to be F5.

Is there any way to do this in C#?

Stephen Kennedy
  • 20,585
  • 22
  • 95
  • 108
Mavain
  • 31
  • 4

1 Answers1

0

Thanks xxbbcc!

For anyone stumbling upon this, please use the UserActivityHook in .Net

Mavain
  • 31
  • 4