GetLicenseExpirationDaysCount

Top  Previous  Next

This function obtains total days of the 'retail' period. The registered software can be operable only during this period. After the period is elapsed the software will stop working.

 

static int GetLicenseExpirationDaysCount();

 

Parameters

 

 No parameters.

 

Return value

 

 Returns quantity of days which are available for the retail period.

 

Requirements

 

 Header: IntelliProtector.h

 

Example

 

using namespace IntelliProtectorService;

// ...

 

void ShowRetailDays()

{

 int iLEDaysCount = CIntelliProtector::GetLicenseExpirationDaysCount();

 CString csLEDays;

 csLEDays.Format(L"License expiration days count: %d", iLEDaysCount);

 AfxMessageBox(csLEDays);

}

 

 

 





Copyright © 2015 IntelliProtector.com