GetTrialDaysLeftCount

Top 

This function returns how many days remain before the registration process. During these days the software is still in the trial mode.

 

static int GetTrialDaysLeftCount();

 

Parameters

 

 No parameters.

 

Return value

 

 Returns the number of trial days left.

 

Requirements

 

 Header: IntelliProtector.h

 

Example

 

using namespace IntelliProtectorService;

// ...

 

void ShowTrialDays()

{

 int iTrialDaysLeftCount = CIntelliProtector::GetTrialDaysLeftCount();

 CString csTrialDays;

 csTrialDays.Format(L"Trial is expires after %d days", iTrialDaysLeftCount);

 AfxMessageBox(csTrialDays);

}

 

See Also

 

GetBuyNowLink

Returns a BuyNow link.

GetCurrentActivationDate

Gets the activation date on the current computer.

GetCurrentRegistrationDate

Gets the registration date on the current computer.

GetCustomerEMail

Customer's email address.

GetCustomerName

Customer's name, like 'Eva Simpson'.

GetFirstRegistrationDate

Gets first registration date for the current license code.

GetIntelliProtectorVersion

Gets version of the protection core.

GetLicenseCode

Shows license code for the current registered software.

GetLicenseExpirationDate

Gets the date, when license will be expired.

GetLicenseExpirationDaysCount

Period for which the license code is issued.

GetLicenseExpirationDaysLeftCount

The days after which the license code expires.

GetLicenseType

Returns a license type for license code.

GetOrderDate

Gets the date when order has been created.

GetTrialDaysCount

Obtains days for the trial period.

GetTrialDaysLeftCount

Obtains how many days remain before registration.

GetTrialUnitsCount

Returns time units for the trial period.

GetTrialUnitsLeftCount

Returns how many time units remain before registration.

IsSoftwareProtected

Says whether the software is protected or not protected.

IsSoftwareRegistered

Says whether software is registered or not.

IsTrialElapsed

Says whether the trial is over or not.

RegisterSoftware

Register the software by the license code.

ShowRegistrationWindow

Invokes a registration pop-up window.

 





Copyright © 2011 intelliprotector.com