Can a C# client record all keyboard and mouse events using hooks and collect information on the clicked GUI element?
Which libary would you use?
Is Spy++ an option or would one need a C++ DLL for that?
It's better to do it in c++, you should register your hook, then you can create a bridge, but in C# may be Code project article is usefull.