I have to get with the command lan mac addres
cMacAddress = ""
objWMIService = GetObject ("winmgmts:" +;
"{impersonationLevel = impersonate}! \ \. \ root \ cimv2")
colItems = objWMIService.ExecQuery (;
"Select * From Win32_NetworkAdapterConfiguration")
For Each objItem in colItems
IF varTYPE (objItem.MACAddress) = "C"
cMacAddress = cMacAddress objItem.MACAddress + + ","
endif
endfor
? cMacAddress
fixed value cMacAddress value is a character, how to change it to a numeric value. thank you...
I will use the formula mac serial number addres to my program
or is there another way to get the serial program that ever-changing change each install even if installed on the same cpu
cMacAddress = ""
objWMIService = GetObject ("winmgmts:" +;
"{impersonationLevel = impersonate}! \ \. \ root \ cimv2")
colItems = objWMIService.ExecQuery (;
"Select * From Win32_NetworkAdapterConfiguration")
For Each objItem in colItems
IF varTYPE (objItem.MACAddress) = "C"
cMacAddress = cMacAddress objItem.MACAddress + + ","
endif
endfor
? cMacAddress
fixed value cMacAddress value is a character, how to change it to a numeric value. thank you...
I will use the formula mac serial number addres to my program
or is there another way to get the serial program that ever-changing change each install even if installed on the same cpu