Get operating system language in c#

GetSystemDefaultLCID

Returns the locale identifier for the system default locale, identified by LOCALE_SYSTEM_DEFAULT.

[DllImport("kernel32.dll")]
public static extern uint GetSystemDefaultLCID();
Categories: C# Tags: , , , , , ,
%d bloggers like this: