0

Getting IP Address using roNetworkConfiguratoin

I have been using following to get the ip4_address of WIFI.

net = CreateObject("roNetworkConfiguration", 1) // 1 for WIFI

net.GetCurrentConfig().ip4_address

Now, we switched to Ethernet.

Is there a method to get the IP address automatically w/o specifying the integer 1 and 0 ?

 

1 comment

  • 0
    Avatar
    Brandon

    No, the interface must be specified because multiple interfaces can be active simultaneously.

    _________________________________________________________________________

    Friendly reminder, the community forum is intended for user-to-user discussion.  It is not regularly monitored. For troubleshooting problems and to ensure a timely answer from a BrightSign representative, please submit a support ticket.

Please sign in to leave a comment.