4

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

1 Answer 1

4

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.

Sign up to request clarification or add additional context in comments.

1 Comment

Yes - you need to be specifically whitelisted by Microsoft to do this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.