Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

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 ;
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: C# open a new form 
Csharp :: how to change the color of an object in unity c# 
Csharp :: unity get mouse position 
Csharp :: unity ray from mouse position 
Csharp :: how to print a variable in c# with text 
Csharp :: save file with unique name c# 
Csharp :: c# center text 
Csharp :: c# player movement 
Csharp :: restclient basic auth c# 
Csharp :: rigidbody2d freeze position 
Csharp :: unity application quit 
Csharp :: unity find gameobject by name 
Csharp :: c# open file dialog 
Csharp :: how to convert string to bool c# 
Csharp :: unity wait for seconds 
Csharp :: c# output double with precision 
Csharp :: get object clicked unity 2d 
Csharp :: Error inflating class android.support.constraint.ConstraintLayout 
Csharp :: c# read json file into object 
Csharp :: unity disable cursor 
Csharp :: how to do cmd command c# 
Csharp :: unity mouse wheel 
Csharp :: substring c# after character 
Csharp :: how to chnage the Scale propery of rect tranform unity 
Csharp :: unity list 
Csharp :: mouse click unity raycast unity 
Csharp :: game object disapear after transform.position 
Csharp :: change image source wpf 
Csharp :: unity object walkable not working 
Csharp :: how to draw over label C# 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =