28,390
社区成员
发帖
与我相关
我的任务
分享
<%
Set colIPConfig = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2" ).ExecQuery ("SELECT MACAddress FROM Win32_NetworkAdapterConfiguration WHERE IPEnabled=true" )
For Each oIPConfig In colIPConfig
Response.Write oIPConfig.MACAddress & "<br>"
Next
%>