摘要: using System;using System.Collections.Generic;using System.Text;using System.Runtime.InteropServices; //调用DLL需要引用空间using System.Management; //获取计算机硬件信息需要引用的空间,需要添加引用using System.Windows.Forms;using... 阅读全文
posted @ 2014-05-14 14:55 西月 阅读(462) 评论(0) 推荐(1) 编辑
摘要: using System.Runtime.InteropServices;[DllImport("kernel32.dll", EntryPoint = "GetSystemDefaultLCID")] public static extern int GetSystemDefaultLCID(); [DllImport("kernel32.dll", Entry... 阅读全文
posted @ 2014-05-14 10:17 西月 阅读(132) 评论(0) 推荐(0) 编辑