I'm trying to get current keyboard language name in background. I used InputLanguage.CurrentInputLanguage.Culture.Name
but I understood that this code doesn't work when application isn't focused. I mean it can't detect language changes when app isn't focused and it always returns the last focused language.
So what can I do to detect current language in background? I'm using windows forms for my application.