-
Hello! I understand this should be posible because the LAF Access Token Request Form allows you to specify that the app is not packaged. Any advise? Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
jso-mega
Feb 17, 2025
Replies: 1 comment 10 replies
-
Maybe @riverar can help me? |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So at last i've managed to make this work, in a unpackaged application i added/embeded a .rc file with the following:
Identity LimitedAccessFeature { L"AppName_testidpublisher123" }
then using the name "AppName_testidpublisher123" as a PackageFamilyName in the https://withinrafael.com/api/windows_laf_token i get the token to be used in LimitedAccessFeatures.TryUnlockFeature("com.microsoft.windows.taskbar.pin", tokenFromWebApi, attestation)
The last argument is the attestation formed in the following way:
var publishedId = testidpublisher123
var featureId = com.microsoft.windows.taskbar.pin
attestation = $publisherId has registered their use of $featureId with Microsoft and agrees to the t…