public override void RetrieveAsyncData(PackageManager manager) { // Retrieve info about newest online version PackageInfo newestPackage = manager.QueryPackageInfo(this.itemPackageInfo.PackageName.VersionInvariant); lock (this.asyncDataLock) { this.newestPackageInfo = newestPackage; } this.GetUpdateCompatibility(manager); }
public override void RetrieveAsyncData(PackageManager manager) { base.RetrieveAsyncData(manager); // Retrieve info about newest online version PackageInfo newestPackage = manager.QueryPackageInfo(this.itemPackageInfo.Id); lock (this.asyncDataLock) { this.newestPackageInfo = newestPackage; } }