|
GetCurrentRegistrationDate |
Top Previous Next |
|
This function retrieves a date and time when the software has been registered on the current computer.
Public Shared Function GetCurrentRegistrationDate() As DateTime
Parameters
No parameters.
Return value
Returns DateTime.MinValue if the software is not registered. Returns date and time of the software registration on the current computer.
Requirements
file: IntelliProtector.vb
Example
Public Sub ShowRegistrationDate() Dim currentRegistrationDate As System.Nullable(Of DateTime) = IntelliProtectorService.IntelliProtector.GetCurrentRegistrationDate() If currentRegistrationDate = DateTime.MinValue Then System.Windows.Forms.MessageBox.Show("Software is not registered") Else System.Windows.Forms.MessageBox.Show(currentRegistrationDate.Value.ToString()) End If End Sub
|
| Copyright © 2011 intelliprotector.com |