Checks the availability of the specified page. Terminates performing of the task, if the page was unavailable.
procedure CheckAvailability(aPage: string; aExpectedIP: string = '0.0.0.0'; aIncludedText: string = ''; aUserAgent: string = ''); overload;
procedure CheckAvailability(aCheckItem: TCSCheckItem); overload;
procedure CheckAvailability(aCheckItems: TCSCheckItems); overload;
CheckAvailability('habrahabr.ru');
CheckAvailability('habrahabr.ru', '178.248.233.33');
CheckAvailability('habrahabr.ru', '178.248.233.33', 'habr');
var CheckItem: TCSCheckITem; CheckItem.Page := 'habrahabr.ru'; CheckAvailability(CheckItem);
var CheckItems: TCSCheckITems; var CheckItem: TCSCheckItem; CheckItem.Page := 'habrahabr.ru'; CheckItem.ExpectedIP := '178.248.233.33'; CheckItems.Add(CheckItem); CheckAvailability(CheckItems);