>I also tried with Win32_ScheduledJob but that is only compliant with tasks created with Win32_ScheduledJob class or the At.exe utility. The newest versions of Windows are not compliant with that approach. There is a command line utility but that is not what I want.
In current Windows OSs, At.exe seems to be replaced by SchTasks.exe. The latter seems to use the Task Scheduler 2.0 API. If you Google [.net "task scheduler 2.0 api"] there are some results that might be useful.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up