Package.Current equivalent in Winui3? #8467
Answered
by
DarranRowe
christopher-carmichael
asked this question in
Q&A
-
I am trying to include the app version in my settings page, however I cannot seem to find a way to access the package information in winui3. Does anyone know a work around? |
Beta Was this translation helpful? Give feedback.
Answered by
DarranRowe
May 8, 2023
Replies: 1 comment
-
Use Package.Current? |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
christopher-carmichael
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use Package.Current?
WinUI 3 is just a library running in a regular desktop process, it isn't special. Desktop applications have no issues using Windows.ApplicationModel.Package. So just remember, you have the entire desktop application API available to you.