GetLicenseExpirationDaysCount

Top  Previous  Next

This function obtains total days of the 'retail' period. The registered software can be operable only during this period. After the period is elapsed the software will stop working.

 

Public Shared Function GetLicenseExpirationDaysCount() As Integer

 

Parameters

 

 No parameters.

 

Return value

 

 Returns quantity of days which are available for the retail period.

 

Requirements

 

 file: IntelliProtector.vb

 

Example

 

Public Sub ShowRetailDays()

    Dim retailDaysQty As Integer = IntelliProtectorService.IntelliProtector.GetLicenseExpirationDaysCount()

    Dim retailDaysQtyMessage As [String] = [String].Format("License expiration days count: {0}", retailDaysQty)

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

End Sub

 





Copyright © 2011 intelliprotector.com