How can I make use of windows progress bar in the taskbar icon feature with Unity?

Windows can use the taskbar icon as a progress bar by filling it up with green. How can I make unity use it to show progress through a level?

You’ll have to call the appropriate Windows API. This package has a tutorial: NuGet Gallery