I'm using the C# Task Scheduler Library to manage tasks: https://github.com/dahall/TaskScheduler
On a given task, I can set the "Enabled" boolean and persist the changes:
task.Enabled= true;
task.State.Dump();
task.RegisterChanges();
But the call to RegisterChanges() does not result in a change. Am I missing something? Is there some other way to disable a task using this library?