C# get pc language
static int Main( string[] argv )
{
CultureInfo ci = CultureInfo.InstalledUICulture ;
Console.WriteLine("Default Language Info:" ) ;
Console.WriteLine("* Name: {0}" , ci.Name ) ;
Console.WriteLine("* Display Name: {0}" , ci.DisplayName ) ;
Console.WriteLine("* English Name: {0}" , ci.EnglishName ) ;
Console.WriteLine("* 2-letter ISO Name: {0}" , ci.TwoLetterISOLanguageName ) ;
Console.WriteLine("* 3-letter ISO Name: {0}" , ci.ThreeLetterISOLanguageName ) ;
Console.WriteLine("* 3-letter Win32 API Name: {0}" , ci.ThreeLetterWindowsLanguageName ) ;
return 0 ;
}
Also in C#:
- .sh script: check if file exist
- remove from list based on condition c#
- ubuntu: how to open the terminal from c#
- c# linq select specific columns
- c# clear console read chache
- native-googlesignin configuration is null!?
- lat long data type c#
- c# make http request
- c# clone stream
- c# string array
- ASP select box all states
- add object to list c#
- how to set a transform equal to something unity
- slomotion in unity 3d
- how to populate listbox using list<t> c#
- internal c#
- create asp.net which send email and sms using own api
- unity how to move an object to another object
- how to make a datatable in c#
- download and run exe c# 1 button
- kill child C#
- verifyusertokenasync password reset token
- How to execute script in C#
- c# switct case