Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Insert excerptBrightScript Version Navigation MenuBrightScript Version Navigation Menunopaneltrue

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.

Code Block
languagejs
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
Code Block
config_elements = CreateObject("roConfigurationElements")
iface_array = config_elements.GetConfiguredNetworks()
For Each iface in iface_array: print iface: Next