随笔 - 56  文章 - 27 评论 - 33 阅读 - 99855
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

文章分类 -  WinForm

winform设计和开发
c#获取MAC地址和硬盘序列号
摘要:首先需要添加一个system.management的引用,在添加引用选项卡。 using System.Management; /// /// 获取MAC地址 /// /// public string GetNetCardMacAddress() { ManagementClass mc; ManagementObjectCollection moc; mc = new M... 阅读全文
posted @ 2008-04-11 09:31 朱胜 阅读(804) 评论(1) 推荐(0) 编辑

点击右上角即可分享
微信分享提示