2/24/2011 11:26:57 PM
Title:
Questions in flex 4
I am workin in flash builder 4,i hav a doubt dat while am using my local network i can read mac address using flex4,but when i connect other network m not gettin the mac address...Can u help me over??? pls...
2/25/2011 10:22:58 AM
you can read the MAC accress in Adobe AIR application using the following code
var networkInterfaceObj:Object = NetworkInfo.networkInfo.findInterfaces();
var networkInfoObj:Object = networkInterfaceObj[0];
var macAddress:String = networkInfoObj.hardwareAddress.toString();