Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.66 KB

packagemanager_findpackages_331793265.md

File metadata and controls

32 lines (22 loc) · 1.66 KB
-api-id -api-type
M:Windows.Management.Deployment.PackageManager.FindPackages(System.String)
winrt method

Windows.Management.Deployment.PackageManager.FindPackages

-description

Retrieves information about a specified family of Packages installed across all users.

-parameters

-param packageFamilyName

The package family name. This parameter cannot be null.

-returns

If the method succeeds, an enumerable collection of package objects with the same package family name will be returned. Each Package object in this collection contains information about the package, including but not limited to its name, publisher, version, and install location. If no packages with the specified package family name are found, this method returns an empty list.

-remarks

This method requires administrative privileges. Each package in the IIterable(Package) collection may be installed for the current user or for another user. This method differs from FindPackages(String packageName, String pulisherName) method. Here the packageFamilyName parameter is a single string, comprised of the package name and package publisher hash.

-examples

-see-also

Package, FindPackages(), FindPackages(String, String)

-capabilities

packageQuery