connectionlist MonitorActive property
Return to Introduction  Previous page  Next page
Applies to
acConnectionList and acHostnameResolver components.  

property MonitorActive: Boolean;  

The MonitorActive property specifies whether the component should monitor the online status of current PC (whether it connected to Internet).  
The time periods between checking the online status should be specified in MonitorInterval property. To be notified when online status changed — write OnOnlineStatusChanged event handler.  

iiwarning Unfortunately component is unable to detect whether computer is not connected to Internet, if user are use Ethernet cable connection. The IsOnline property will always return True even if user cut cable off.  

See also
IsOnline, MonitorActive and MonitorInterval properties;  
OnOnlineStatusChanged event.