Unable to get the current keyboard layout

activities
keyboard
studio
language
windows10

#1

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?


#2

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