How to check current Keyboard Input Layout

hey @ilvor

Yes you can by using InputLanguage.CurrentInputLanguage.LayoutName . // For me it returns English (India).

Above will return you the default keyboard Layout name.

if you want to know the current Language name if more then one language installed on your system then you can go with this piece of code

"InputLanguage.CurrentInputLanguage.Culture.Name"

// For me it returns “en-US”.

Note- please import first System.Windows.Forms namespace in your project.

Regards…!!
Aksh

3 Likes