Carlo Mendoza
Carlo Mendoza

Reputation: 835

Is there an API for a UWP App to Self Uninstall? C#

Is there a way for a UWP to have a self uninstall function?

Scenario is a LOB UWP app the we want to be uninstalled remotely if user has been marked unauthorized.

Upvotes: 2

Views: 140

Answers (1)

Martin Zikmund
Martin Zikmund

Reputation: 39112

Such an API is not currently available. If it were, its home would be the StoreContext class which currently hosts the ability to uninstall optional packages ("DLCs"), but does not offer the same for the app itself.

Upvotes: 1

Related Questions