Refreshing of the HNAdapterConfig
objects internal list can be executed only if there are no adapters already opened.
HNERR_REG_OPEN_ERROR
OS registry reading error.
Description:
RefreshAdapterList can be used only after Initialize method has been
executed successfully.
Use this method if you need to refresh the networks adapters list and/or
WANMonitorState property changes. RefreshAdapterList
method performs full refreshing of all adapters configurations.
Also you can trace Windows messages (e.g., WM_DEVICECHANGE) concerning with hardware configuration
changes, and handle them using this method.
On executing RefreshAdapterList successfully OnConfigChange
event handler is called.