Hello, Welcome to Micorosoft Q&A,
I have a WPF application and i want to read contents of Windows.ApplicationModel.Package.Current object.
Derive from document here,
Although Package is supported in desktop apps, this member is supported only in UWP apps. To access a package object from a desktop app, use Windows.Management.Deployment.PackageManager.
If you used WPF app, please use Windows.Management.Deployment.PackageManager
to access the app's Package property.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.