MonitorActive property
|
acHostnameResolver and acConnectionList 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.
|
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.
|
IsOnline, MonitorActive and MonitorInterval properties;
|
OnOnlineStatusChanged event.
|