GetTrialUnitsLeftCount
This function returns how many time units remain till registration. During this period the software is still in the trial mode.

Syntax
public static int GetTrialUnitsLeftCount(Dimension dimension)

Parameters
enum Dimension - type of the timeframe.

Return value
Returns the number of trial units left.

Requirements
File: ItpLibraryNetWrapper.cs
Namespace: ItpLibraryNetClient;

Example
void InitControls()
{
    lTrialTimeUnitsLeft.Text = string.Format("{0} mins | {1} hours | {2} days | {3} weeks | {4} months"
                                , ItpLibraryNetWrapper.GetTrialUnitsLeftCount(Dimension.Minutes)
                                , ItpLibraryNetWrapper.GetTrialUnitsLeftCount(Dimension.Hours)
                                , ItpLibraryNetWrapper.GetTrialUnitsLeftCount(Dimension.Days)
                                , ItpLibraryNetWrapper.GetTrialUnitsLeftCount(Dimension.Weeks)
                                , ItpLibraryNetWrapper.GetTrialUnitsLeftCount(Dimension.Months));
 
}
Copyright 2006 - 2024 by IntelliProtector - Software Protection and Licensing Services