Hello, Welcome to Micorosoft Q&A,
UWP AppInfo throws NotImplementedException
Derive the exception, it looks notification.AppInfo.DisplayInfo has not implemented for WinForm platform. For this scenario, we have a workaround for getting AppInfo with AppDiagnosticInfo api. Please refer the following code
var list = await AppDiagnosticInfo.RequestInfoAsync();
var currentPackage = list.Where(o => o.AppInfo.PackageFamilyName == Package.Current.Id.FamilyName).FirstOrDefault();
if (currentPackage != null)
{
AppInfo currentAppInfo = currentPackage.AppInfo;
var display = currentAppInfo.DisplayInfo;
}
Update
UserNotificationListener has no DualApiPartitionAttribute
, it means it is not support for desktop app, I'm afraid you could not use desktop app to get all other app's notifications.
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.