1
獲取MAC地址代碼:C#如何與結腸癌
var macAddr =
(from nic in NetworkInterface.GetAllNetworkInterfaces()
where nic.OperationalStatus == OperationalStatus.Up
select nic.GetPhysicalAddress().ToString()).FirstOrDefault();
輸出:
0800275283A8
如何隱蔽到:
08:00 :27:52:83:A8
不,不解決我的問題 – abdo
它是怎麼不能解決您的問題? – JanR
'nic'在當前上下文中不存在 – abdo