Csharp/C Sharp by API/System.Windows.Forms/InputLanguage
InputLanguage.Culture
using System;
using System.Drawing;
using System.Collections;
using System.ruponentModel;
using System.Globalization;
using System.Windows.Forms;
using System.Data;
class MainClass{
static void Main()
{
InputLanguage inL = InputLanguage.CurrentInputLanguage;
CultureInfo info = inL.Culture;
Console.WriteLine("Culture identifier = {0}\n"+
"Display name = {1}\n"+
"Calender = {2}\n",
info.ToString(),
info.DisplayName,
info.Calendar.ToString());
}
}
InputLanguage.CurrentInputLanguage
using System;
using System.Drawing;
using System.Collections;
using System.ruponentModel;
using System.Globalization;
using System.Windows.Forms;
using System.Data;
class MainClass{
static void Main()
{
InputLanguage inL = InputLanguage.CurrentInputLanguage;
CultureInfo info = inL.Culture;
Console.WriteLine("Culture identifier = {0}\n"+
"Display name = {1}\n"+
"Calender = {2}\n",
info.ToString(),
info.DisplayName,
info.Calendar.ToString());
}
}