Windows应用程序盈利指南
1. 应用授权
在Windows应用开发中,授权管理是实现应用盈利的重要环节。主要通过CurrentApp类与Windows应用商店进行交互,不过在开发阶段,通常使用CurrentAppSimulator类结合WindowsStoreProxy.xml文件来模拟应用商店的授权信息。
以下是WindowsStoreProxy.xml文件的示例:
<?xml version="1.0" encoding="utf-16" ?> <CurrentApp> <ListingInformation> <App> <AppId>2B14D306-D8F8-4066-A45B-0FB3464C67F2</AppId> <LinkUri>http://apps.microsoft.com/app/2B14D306-D8F8-4066-A45B-0FB3464C67F2</LinkUri> <CurrentMarket>en-us</CurrentMarket> <AgeRating>6</AgeRating> <MarketData xml:lang="en-us"> <Name>Trial management full