Insert excerpt
Object Creation: The roConfigurationElements object is created with no parameters.
Code Block | ||
---|---|---|
| ||
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 |