TaskGetLastRegistrationTime Method
Gets the last registration time, looking first at the
Date value and then looking for the
most recent registration event in the Event Log.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public DateTime GetLastRegistrationTime()
Return Value
DateTimeDateTime of the last registration or
MinValue if no value can be found.