GetLicenseExpirationDaysCount

Top  Previous  Next

This function returns the length of the 'retail' days. During these days the license code will be valid.

 

static int GetLicenseExpirationDaysCount();

 

Parameters

 

 No parameters.

 

Return value

 

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

 

Requirements

 

 Library: IntelliProtectorDummy.dll

 Source: UnitIntelliProtector.h

 

Example

 

#include "UnitIntelliProtector.h"

using namespace IntelliProtectorService;

//...

void TFormMain::UpdateIntelliprotectorControls()

{

 int iLicenseExpirationDaysCount = CIntelliProtector::GetLicenseExpirationDaysCount();

 lLEDaysTotal->Caption = IntToStr(iLicenseExpirationDaysCount);

}

 

 





Copyright © 2011 intelliprotector.com