This worked for me:

import flash.net.InterfaceAddress;
import flash.net.NetworkInterface;

var netInterfaces:Vector.<NetworkInterface> =
NetworkInfo.networkInfo.findInterfaces();
var addresses:Vector.<InterfaceAddress> = netInterfaces[0].addresses;
ipAddress = addresses[0].address;

On Thu, Aug 18, 2011 at 10:24 AM, K.C Baruri <[email protected]> wrote:

>
>  Dear All,
> I have published a Flex project in IIS  which is wcf service oriented. Now,
>   I am facing a problem to catch IP address from Flex(Action Script) .  From
> wcf can retrieve easily , but I want to take it from Flex. Can you please
> help me regarding this?
>
> Thanks
> Kumaresh
>  
>

Reply via email to