GetLicenseExpirationDaysLeftCount

Top  Previous  Next

This function returns the days, which are left before the license code expires.

When 'retail' days will expires, the software will ask for new license code (renew subscription).

 

static int GetLicenseExpirationDaysLeftCount();

 

Parameters

 

 No parameters.

 

Return value

 

 Returns the number of the trial days left.

 

Requirements

 

 Library: IntelliProtectorDummy.dll

 Source: UnitIntelliProtector.h

 

Example

 

#include "UnitIntelliProtector.h"

using namespace IntelliProtectorService;

//...

void TFormMain::UpdateIntelliprotectorControls()

{

 int iLEDaysLeftCount = CIntelliProtector::GetLicenseExpirationDaysLeftCount();

 lLEDaysLeft->Caption = IntToStr(iLEDaysLeftCount);

}

 

 

 

 





Copyright © 2011 intelliprotector.com