Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
Developer
Posts: 158
Registered: ‎01-11-2010
My Device: 9700 | 9900 | PlayBook | Dev Alpha
My Carrier: Many :)

device MAC and IP address

Hello, all.

 

I was looking through the flash documentation trying to figure out how to do this.  Here is what ive come up with :

 

var NET:NetworkInterface = new NetworkInterface();

var ipa = NET.addresses;		// list of IP addresses
var mca = NET.hardwareAddress;		// list of mac addresses

 

But here is the output:

 

 

ipa=null

mca=

 

 

got any ideas as to why this is?

 

- thanks in advance!

 

- - - - - - - - - -
Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: device MAC and IP address

Did you try searching this forum for NetworkInterface before posting?


Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Developer
Posts: 158
Registered: ‎01-11-2010
My Device: 9700 | 9900 | PlayBook | Dev Alpha
My Carrier: Many :)

Re: device MAC and IP address

I did.  specifically for the words "IP and MAC"

 

that thread did not show up.

 

i'll talk a look at your other post, though.

- - - - - - - - - -