GetTrialDaysCount

Top  Previous  Next

This function obtains total days of the trial period.

 

static int GetTrialDaysCount();

 

Parameters

 

 No parameters.

 

Return value

 

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

 

Requirements

 

 Header: IntelliProtector.h

 

Example

 

using namespace IntelliProtectorService;

// ...

 

void ShowTrialDays()

{

 int iTrialDaysCount = CIntelliProtector::GetTrialDaysCount();

 CString csTrialDays;

 csTrialDays.Format(L"Trial days: %d", iTrialDaysCount);

 AfxMessageBox(csTrialDays);

}

 

 

 





Copyright © 2015 IntelliProtector.com