GetTrialDaysLeftCount

Top  Previous  Next

Function returns count of free days in the trial period left.

 

static int GetTrialDaysLeftCount();

 

Parameters

 

 No parameters.

 

Return value

 

 Returns the number of trial days left.

 

Requirements

 

 Header: IntelliProtector.h

 

Example

 

using namespace IntelliProtectorService;

// ...

 

void ShowTrialDaysLeft()

{

 int iTrialDaysLeftCount = CIntelliProtector::GetTrialDaysLeftCount();

 CString csTrialDays;

 csTrialDays.Format(L"Trial will expire in %d days", iTrialDaysLeftCount);

 AfxMessageBox(csTrialDays);

}

 

 

 





Copyright © 2015 IntelliProtector.com