From MSDN, with TaskbarManager class : Pin your app to the taskbar
How does the app pin its own shortcut to the taskbar on Windows 11?
XB121
41
Reputation points
I want my app can pin its shortcut on the taskbar after app launched for the first time on Windows 11.
And I found the command "taskbarpin" does not work on Windows 11.
Is there any other way to do this?
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,561 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,970 questions