GetTrialDaysCount

Top  Previous  Next

This function obtains the total days of the trial period.

 

static int GetTrialDaysCount();

 

Parameters

 

 No parameters.

 

Return value

 

 Returns the count of days, which are available in the trial period.

 

Requirements

 

 Library: IntelliProtectorDummy.dll

 Source: UnitIntelliProtector.h

 

Example

 

#include "UnitIntelliProtector.h"

using namespace IntelliProtectorService;

//...

void TFormMain::UpdateIntelliprotectorControls()

{

 // fill lTrialDaysTotal

 int iTrialDaysCount = CIntelliProtector::GetTrialDaysCount();

 lTrialDaysTotal->Caption = IntToStr(iTrialDaysCount);

}

 

 

 





Copyright © 2011 intelliprotector.com