Unable to get the current keyboard layout

Hello.

I would like to get the current keyboard layout but I’m unable to do it as it can’t find InputLanguage methods. There’s also no Windows.Forms library, that is it simply can’t find it.

How else can I get the current layout?

1 Like

Problem solved. I just needed to search for System.Windows.Forms instead of Windows.Forms

1 Like