Topic Path: Symbol Reference > Classes > TIdIPAddrMon Class > TIdIPAddrMon Methods > ForceCheck Method
ContentsIndexHome
PreviousUpNext
TIdIPAddrMon.ForceCheck Method

Manually invokes the CheckAdapters method without executing the Thread for the component.

procedure ForceCheck;

ForceCheck is a procedure used to manually invoke the CheckAdapters method without executing the Thread for the component. ForceCheck calls the CheckAdapters method using Nil as the thread controlling the action. 

Calling ForceCheck causes the current IPAddresses for the local system to be filled and examined. This also causes the OnStatusChanged event handler to be fired when changes to the IPAddresses are detected. 

Use ForceCheck to collect the current IPAddresses for thelocal system prior to setting Active to True, and executing the Thread for the component.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.