Validating Windows Store purchases for your app
description
Transcript of Validating Windows Store purchases for your app
Validating Windows Store purchases for your app
Alwin VyhmeisterSenior Program Manager3-126
Why validate purchases?
$ ¥
€ £ ₹
What validation is done by Windows?
Validations built in to WindowsApp integrity validation.
App license validation.
Runtime validation.
Licensing improvements in Windows 8.1Better license sync.Consumable in-app purchases.Increased the PC limit.
Repairing non-genuine appsThe app’s tile is marked on the Start menu.
The app won’t launch.
Go to the Store to fix it.
Offline purchase validation.
1.Do purchase.
2.Check license state offline.
Offline purchase validation – inside the app
Store APIs
App
Store Services
1
LicenseCache2
Did they purchase the in-app offer?Is my app running sideloaded?
http://aka.ms/WinRT-LicensingSample
Purchase validation with receipts.
1. Do purchase and get a receipt.
2. Send the receipt to your service.
3. Validate the receipt signature.
Purchase validation with receipts
Store APIs
App
Store services
App’s services
1
2
3
Licensecache
Modify app behavior when non-genuine
Basic proof of purchase validation.Detect replays of old receipts.Do PC activation to limit sharing.
http://aka.ms/WinRT-ReceiptValidation
Give customers what they paid for.Protect your app investment.Protect your service from non-genuine use.
Validate purchases
ResourcesStore API sample app.http://aka.ms/WinRT-LicensingSample Using receipts to verify purchases.http://aka.ms/WinRT-ReceiptValidationUsing the application specific hardware Id.http://aka.ms/WinRT-ASHWID
Evaluate this session
Scan this QR code to evaluate this session and be automatically entered in a drawing to win a prize!
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.