|
GetSupportExpirationDate |
Top Previous Next |
|
Returns date and time, when support will be expired.
Public Shared Function GetSupportExpirationDate() As DateTime
Parameters
No parameters.
Return value
Returns DateTime.MinValue if the software is not registered or support expiration feature is not enabled. Returns date and time when support will be expired.
Requirements
file: IntelliProtector.vb
Example
Private Sub ShowSupportExpirationDate() Dim supportExpirationDate As System.Nullable(Of DateTime) = IntelliProtectorService.IntelliProtector.GetSupportExpirationDate() If supportExpirationDate = DateTime.MinValue Then System.Windows.Forms.MessageBox.Show("Software is not regitered or support expiration feature is not enabled") Else System.Windows.Forms.MessageBox.Show(supportExpirationDate.Value.ToString()) End If End Sub
|
| Copyright © 2011 intelliprotector.com |