BTA Flexing

My passion RIAs…………..Shardul Singh Bartwal

Archive for October 3rd, 2010

Getting Ethernet Adapter(MAC Address in AIR Applicaion)

Posted by shardulbartwal on October 3, 2010

Its very simple and easy to get the MAC address of any computer with Adobe AIR application.

With just two to three lines you can find it very easily.Just have a look at lines below
and you will get the MAC address of the computer in which your application is running.

var networkInterface : Object =  NetworkInfo.networkInfo.findInterfaces();
var networkInfo  : Object = networkInterface[0];
var physicalAddress : String = networkInfo.hardwareAddress.toString();

Hope you will like it…………

Enjoy Flexing…….

Posted in AIR 2.0 | 7 Comments »

 
Follow

Get every new post delivered to your Inbox.