Is there a property that gives a unique ID for a specific task? Specifically of type Microsoft.Win32.TaskScheduler.Task.
Is this possible?
Using ts As New TaskService()
Dim taskArr As IEnumerable(Of Task) = ts.AllTasks
For Each task As Task In taskArr
'Get unique ID here. Does something like the following exist?
Console.WriteLine(task.GetUniqueID())
Next
End Using
My goal is to go through the tasks and save the information to a database with a unique identifier. That way if the task name changes or any other information about it, I can still connect it with my table in the database.Is this possible?