I am currently working on a C# WPF project. I need to allow the user to create and add a scheduled task to the Windows Task Scheduler.
How could I go about doing this and what using directives and references do I need as I am not finding much when searching the Internet.
You can use Task Scheduler Managed Wrapper:
Alternatively you can use native API or go for Quartz.NET. See this for details.
This works for me https://www.nuget.org/packages/ASquare.WindowsTaskScheduler/
It is nicely designed Fluent API.