AIR app discover host IP Addresses to store in a variable

Participant ,
Aug 31, 2021 Aug 31, 2021

Copy link to clipboard

Copied

Hey everyone,

 

I need to find a way for my AIR App to discover the local IP Address(es) and store them in a variable to use later.

 

I've found: 

public function get address():String

 

or perhaps the NetworkInterface class using public function get addresses():Vector.<InterfaceAddress>

 

The above are from Adobe AS3 Reference material.  As I'm still newer to AS3 I'm not sure how to implement this.

 

If someone can point me in the right direction it would be much appreciated!

Views

24

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation