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(); }
清清软件园 http://sillysoft.taobao.com