Script CG 動畫工具箱
3DsMax Maya AfterEffect MaxScript MayaMel JavaScript
2010/12/08
[MaxScript] 取得MacAddress
fn fnGetMacAdress =
(
GetStr = (dotNetClass "System.Net.NetworkInformation.NetworkInterface").GetAllNetworkInterfaces()
for i in GetStr do
(
tempAdd=(i.GetPhysicalAddress()).ToString()
if tempAdd != "" then return tempAdd
)
)
較舊的文章
首頁