Skip to content

Commit 65692fc

Browse files
authored
Update README.md
1 parent 6141136 commit 65692fc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ sourceManager.AddSource("msstore", "https://storeedgefd.dsx.mp.microsoft.com/v9.
102102

103103
### Find Latest Versions of a Package:
104104

105-
Using the ***WinGetPackageManager*** class you can use the `GetInstalledPackages` capability to get the latest version of a package and then retrieve the version number from the `AvailableVersion` property.
105+
Using the ***WinGetPackageManager*** class you can use the `GetInstalledPackages` capability to get the latest version of a package and then retrieve the version number from the `AvailableVersionObject` property.
106106

107-
You would then be able to compare this to the current version of the package and determine if you need to notify users of an available upgrade.
107+
You would then be able to compare this to the current version of the package (`VersionObject` property) and determine if you need to notify users of an available upgrade.
108108

109109
```csharp
110110
WinGetPackageManager packageManager = new WinGetPackageManager();

0 commit comments

Comments
 (0)