C#如何判断操作系统语言版本

using System.Runtime.InteropServices;
static void Main(string[] args)
        {
            System.Console.WriteLine(System.Environment.OSVersion);
            System.Console.WriteLine(System.Threading.Thread.CurrentThread.CurrentCulture.ThreeLetterWindowsLanguageName);
            System.Console.WriteLine(System.Threading.Thread.CurrentThread.CurrentCulture.NativeName);
            System.Console.WriteLine(System.Threading.Thread.CurrentThread.CurrentCulture.Name);
            System.Console.WriteLine(System.Threading.Thread.CurrentThread.CurrentCulture.DisplayName); 
            
            Console.ReadKey();
        }

posted @ 2013-11-15 16:06  乡香田甜  阅读(938)  评论(0编辑  收藏  举报