title: Detect current keyboard language/layout name in multi-language computer
body: <p>I am trying to develop an application in C# which required to detect user selected language (keyboard layout).
  However two languages are installed on my computer, the code always returns the default one, even I change the language before run the application.</p>
  
  <pre><code>InputLanguage myCurrentLanguage = InputLanguage.InstalledInputLanguages[1]; // here I can see collection of languages 
  InputLanguage myCurrentLanguage2 = InputLanguage.CurrentInputLanguage; // always return first or default one
  </code></pre>
  
  <p>Is there any technique to detect the real selected / running language?</p>