I have an application that needs to reads name of all installed app on user mobile. but i can't do that. How can i get list of installed applications in Universal Windows Platform on windows 10 mobile?
thanks for your helping
You need to add Windows Mobile Extensions for the UWP and use the following code:
if (ApiInformation.IsTypePresent("Windows.Phone.Management.Deployment.InstallationManager"))
{
var packages = Windows.Phone.Management.Deployment.InstallationManager.FindPackages();
foreach (var package in packages)
{
Debug.WriteLine(package.DisplayName);
}
}
But this code requires ID_CAP_OEM_DEPLOYMENT. As I know from msdn
I would assume that you would require a company certificate and would have to sign your Apps with that certificate in order for those permissions to work.