GetTrialDaysCount

Top  Previous  Next

This function obtains total days of the trial period.

 

public static int IntelliProtector.GetTrialDaysCount();

 

Parameters

 

 No parameters.

 

Return value

 

 Returns quantity of days which are total in the trial period.

 

Requirements

 

 file: IntelliProtector.cs

 namespace: IntelliProtectorService;

 

Example

 

public void ShowTrialDays()

{

 int trialDaysQty = IntelliProtector.GetTrialDaysCount();        

 String daysInTrialMessage = String.Format("Trial days: {0}", trialDaysQty);

 MessageBox.Show(daysInTrialMessage);

}

 





Copyright © 2011 intelliprotector.com