您好,
您可以用LicenseInformation.IsActive和 LicenseInformation.IsTrial来判断.
Trial Period: IsActive = true, IsTrial = true;
Fully Licensed: IsActive = true, IsTrial =NA;
License Expired: IsActive = false;
#LicenseInformation.IsActive:
https://msdn.microsoft.com/en-us/library/windows.applicationmodel.store.licenseinformation.isactive.aspx .
#LicenseInformation.IsTrial:
https://msdn.microsoft.com/en-us/library/windows.applicationmodel.store.licenseinformation.istrial.aspx .
---Amy Peng
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.