IsTrialElapsed

Top  Previous  Next

Gets the value indicating the status of the trial period - whether it has elapsed or not.

 

static bool IsTrialElapsed();

 

Parameters

 

 No parameters.

 

Return value

 

 Returns True if trial is over.

 Returns False if trial is not over, or if software is registered.

 

Requirements

 

 Library: IntelliProtectorDummy.dll

 Source: UnitIntelliProtector.h

 

Example

 

#include "UnitIntelliProtector.h"

using namespace IntelliProtectorService;

//...

void TFormMain::OnCheckTrial()

{

 if(CIntelliProtector::IsTrialElapsed())

         lTrialMode->Caption = "ON";

 else

         lTrialMode->Caption = "OFF";

}

 

 





Copyright © 2011 intelliprotector.com