[C#] [W8.1] Windows 8.1 App许可证错误0x803F6107 [英] [C#][W8.1]Windows 8.1 App License Error 0x803F6107
问题描述
使用代码检查Windows 8.1 Metro / Windows RT应用程序的许可证时:
LicenseInformation licenseInformation = CurrentApp.LicenseInformation;
bool isTrial = licenseInformation.IsTrial;
在应用程序的OnLaunched和App_Resuming中调用它但应用程序崩溃时出现以下错误:
Windows.ApplicationModel.Store.CurrentApp.get_LicenseInformation
System.Exception:来自HRESULT的异常: 0x803F6107
该应用程序在Windows应用商店发布,错误从2015年10月开始发生,之前它正在工作
罚款。
发生错误用户使用OS 8.1和Windows 10下载的PC。虽然对于某些用户来说它工作正常。
这个问题有解决办法吗?
Hello Jatin_Sharma,
请阅读粘性帖子,尤其是 发布指南:
主题行标签 Windows的已知问题
10 SDK和工具 。
我们不知道什么样的 用于开发通用应用程序的项目?是Windows 8.1或Win10 UWP应用程序吗?
>>
错误仅在某些设备中出现,而在其他设备中效果很好。
这可能是设备之间操作系统的版本差异你可以尝试将它们更新到最新版本并查看它是否再次运行良好?
With问候,
Krunal Parekh
跨度>
When checking Windows 8.1 Metro/Windows RT app's license with code:
LicenseInformation licenseInformation = CurrentApp.LicenseInformation; bool isTrial = licenseInformation.IsTrial;
It is being called in App's OnLaunched and App_Resuming but app crashes with the following error:
Windows.ApplicationModel.Store.CurrentApp.get_LicenseInformation
System.Exception: Exception from HRESULT: 0x803F6107
The app is released on Windows Store and the error started occuring from October 2015, before that it was working
fine.
The error occurs in user's downloaded PCs with OS 8.1 and Windows 10. Although for some it is working fine.
Is there any solution to this problem?
Hello Jatin_Sharma,
Please read the sticky posts, especially the Guide to posting: subject line tags and Known Issues for Windows 10 SDK and Tools . We have no idea what kind of project you are using for developing Universal App? Is it windows 8.1 or Win10 UWP app?
>>The error occurs only in some of the devices and works well in others.
It could be version difference of the OS between the devices could you try to update them to latest version and see if it works well again?
With Regards,
Krunal Parekh
这篇关于[C#] [W8.1] Windows 8.1 App许可证错误0x803F6107的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!