I'm trying to detect when the user is typing inside any text editor application on windows with C#, same as Grammarly for Windows.
Do I need special permission to do that, or do I go for something like a global keyboard hook?
In terms of security, I don't like to use a global keyboard hook, so what is the best approach to access the text and be able to replace it with my text?
I already search and there was no result for doing that with C#, they all explain how I do it in my own application only.