I'm building a parental control application in UWP and I need to be able to uninstall the application only if the user (the child basically) introduces some correct credentials (username and password). Otherwise, the child can simply uninstall the application and bypass the parental control system that I built.
I already did this in Windows Forms using Visual Studio Installer: I created an Installer class and on the Uninstall step I check the credentials (using a Custom Action).
Can I do this in UWP? Are there any workarounds that can achieve the same effect?
Thank you respectfully.