GetTrialDaysCount

Top  Previous  Next

This function obtains total days of the trial period.

 

Public Shared Function GetTrialDaysCount() As Integer

 

Parameters

 

 No parameters.

 

Return value

 

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

 

Requirements

 

 file: IntelliProtector.vb

 

Example

 

Public Sub ShowTrialDays()

    Dim trialDaysQty As Integer = IntelliProtectorService.IntelliProtector.GetTrialDaysCount()

    Dim daysInTrialMessage As [String] = [String].Format("Trial days: {0}", trialDaysQty)

    System.Windows.Forms.MessageBox.Show(daysInTrialMessage)

End Sub





Copyright © 2011 intelliprotector.com