Player APIs (BrightScript & Ja...
...
Object Reference
Networking Objects

roConfigurationElements

3min
roconfigurationelements provides an interface to enumerate configuration items which are accessed using a class which requires a name or index for construction in these cases it is awkward to provide an enumeration as part of the class, since at least one valid name/index must be known to create an instance object creation the roconfigurationelements object is created with no parameters createobject("roconfigurationelements") ifconfigurationelements getconfigurednetworks() this returns an roarray of configured interface names these include both explicitly configured networks, and interfaces using the default configuration (dhcp) example config elements = createobject("roconfigurationelements") iface array = config elements getconfigurednetworks() for each iface in iface array print iface next