简体   繁体   English

有没有办法在 WPF 应用程序(DesktopBridge)中使用 Microsoft Store API 进行 inApp 购买?

[英]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.在尝试使用 Desktop Bridge 将 WPF 应用程序引入 Windows Store 时。

Is there any way to use Microsoft Store API in WPF Application (Desktop Bridge) for inApp purchases?有没有办法在 WPF 应用程序(桌面桥)中使用 Microsoft Store API 进行 inApp 购买?

Regards问候

You could use StoreContext Class in desktop applications via desktop bridge.您可以通过桌面桥在桌面应用程序中使用StoreContext Class 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.您需要配置 StoreContext object 以指定哪个应用程序 window 是 window object 显示的模态对话框的所有者。

You could refer to this document fore more detailed steps: Using the StoreContext class with the Desktop Bridge您可以参考此文档了解更多详细步骤: Using the StoreContext class with the Desktop Bridge

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在桌面应用程序(wpf)中使用 Microsoft.Services.Store.Engagement 来测试 microsoft store 推送通知测试 - use Microsoft.Services.Store.Engagement in desktop application(wpf) to test microsoft store push notification test 找不到Microsoft.DesktopBridge.props - Microsoft.DesktopBridge.props was not found 如何通过 GetSubscriptionsForUser API 确定 Microsoft Store 订阅购买中的自动续订偏好更改? - How to determine auto renewal preference change in Microsoft Store Subscription purchases through GetSubscriptionsForUser API? 有什么方法可以将WPF应用程序移植到Windows IoT? - Is there any way to port WPF application to Windows IoT? 如何管理 Microsoft Store 之外的应用内购买? - How to manage in-app purchases outside of the Microsoft Store? 有什么方法可以将UWP App转换为Windows Desktop WPF Application - Is there any way to convert UWP App into windows Desktop WPF Application 无法验证 Microsoft Store 的 UWP 应用程序 - Unable to validate UWP application for microsoft store 如何在 Microsoft Store 中获取唯一用户 ID API - How to get a unique userid in Microsoft Store API 没有API的微软UWP商店订阅管理? - Microsoft UWP store Subscription management without API? UWP Windows Store应用程序列表显示“提供应用程序内购买”。 但是我的应用程序没有任何 - UWP Windows Store App listing says “Offers in-app purchases”. But my app doesnt have any
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM