Monday, March 19, 2012

Navigating to marketplace to cross market your applications

Make a button, put an image or your little sales pitch for your new application.
private void button1_Click_3(object sender, System.Windows.RoutedEventArgs e)
{
MarketplaceDetailTask myTask = new MarketplaceDetailTask();
myTask.ContentType = MarketplaceContentType.Applications;
myTask.ContentIdentifier = "dc2c2c55-75a0-e011-986b-78e7d1fa76f8";
myTask.Show();
}

Then the above code will navigate to that application. Get the ContentIdentifier from the apphub, it is the Product ID listed on the details page of the application. and off your go, rock and roll!
Nigel

No comments:

Post a Comment