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

Syntax
Public Shared Function GetTrialUnitsLeftCount(dimension As Dimension) As Integer

Parameters
enum Dimension - type of the timeframe.

Return value
Returns the number of trial units left.

Requirements
File: ItpLibraryNetWrapper.vb
Namespace: ItpLibraryNetClient;

Example
Private Sub InitItpControls()
    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))
End Sub
Copyright 2006 - 2024 by IntelliProtector - Software Protection and Licensing Services