'Is there any way to use Microsoft Store API in WPF Application (DesktopBridge) for inApp purchases?

While trying to bring WPF Apps in Windows Store using Desktop Bridge.

Is there any way to use Microsoft Store API in WPF Application (Desktop Bridge) for inApp purchases ?

Regards



Solution 1:[1]

You could use StoreContext Class in desktop applications via desktop bridge. What you need is to configure the StoreContext object to specify which application window is the owner window for modal dialogs that are shown by the object.

You could refer to this document fore more detailed steps: Using the StoreContext class with the Desktop Bridge

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Roy Li - MSFT