|
GetLicenseExpirationDate |
Top Previous Next |
|
This function returns the date, when license will be expired
Public Shared Function GetLicenseExpirationDate() As DateTime
Parameters
No parameters.
Return value
Returns DateTime.MinValue if the software is not registered or license code has no expiration date. Returns date and time when license code will be expired.
Requirements
file: IntelliProtector.vb
Example
Public Sub ShowLicenseExpirationDate() Dim licenseExpirationDate As System.Nullable(Of DateTime) = IntelliProtectorService.IntelliProtector.GetLicenseExpirationDate() If licenseExpirationDate = DateTime.MinValue Then System.Windows.Forms.MessageBox.Show("Software is not registered or license will not be expired") Else System.Windows.Forms.MessageBox.Show(licenseExpirationDate.Value.ToString()) End If End Sub
|
| Copyright © 2011 intelliprotector.com |