How to find out the version of a scheduler task?

Topics: Examples
Feb 17, 2016 at 2:37 AM
In the page of Microsoft, it says that is 1.0 and 2.0.
But in the source code, I find some version 1.1 , 1.2 and 1.3~
Is there any relationship with them?
And how to find out the version of a task?
Thanks ~
Feb 17, 2016 at 4:28 AM
Version 1.1 of the library represents the 1.0 version and was on systems from Windows 98 with IE4 through Windows XP.

Version 1.2 and later represent the 2.0 version. In each OS release from Windows Vista forwards, Microsoft has added minor features and has increased the version one digit. Therefore 1.2 = Vista, 1.3 = Win7, 1.4 = Win8 and 8.1, 1.5 = Win10.

The version information for a task in the library is a little easier to determine using TaskDefinition.Settings.Compatibility to determine the minimum version of the library on which the task can be registered. You can also use the TaskDefinition.LowestSupportedVersion to determine which version of the library is the lowest version that will support the combination of properties set across the entire TaskDefinition.
Marked as answer by dahall on 2/16/2016 at 9:28 PM