I want to execute some code when metro app is uninstalled . Basically I want to remove the credentials saved with password vault before the app is uninstalled . I just want to eecute 2-3 lines of code before the app is uninstalled . Any suggestions ?
PasswordVault
will remove credentials when app is uninstalled. No need to do that manually.
Maybe you have to remove it by yourself. Check out the below given MSDN threads.
How to remove credentials in password vault when user uninstall the app?