Hello,
Welcome to Microsoft Q&A.
If you have submitted the app to the Microsoft Store, then you can check the updates through StoreContext
.
This document may help you:
Download and install package updates from the Store
private StoreContext context = null;
private async void Button1_Click(object sender, RoutedEventArgs e)
{
if (context == null)
{
context = StoreContext.GetDefault();
}
// Get the updates that are available.
IReadOnlyList<StorePackageUpdate> updates =
await context.GetAppAndOptionalStorePackageUpdatesAsync();
if (updates.Count > 0)
{
// has available update
}
}
Currently GetAppAndOptionalStorePackageUpdatesAsync
can't use to check the new version number in store, you just use it to notify user, it has update now, and then use StoreContext.GetAppAndOptionalStorePackageUpdatesAsync
to get update.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.