Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.51 KB

packagemanager_findpackages_1597689551.md

File metadata and controls

35 lines (24 loc) · 1.51 KB
-api-id -api-type
M:Windows.Management.Deployment.PackageManager.FindPackages(System.String,System.String)
winrt method

Windows.Management.Deployment.PackageManager.FindPackages

-description

Finds all installed Packages with the specified name and publisher.

-parameters

-param packageName

The package name. This parameter cannot be null.

-param packagePublisher

The package publisher. This parameter cannot be null.

-returns

If the method succeeds, an enumerable collection of package objects with the same package name and publisher name is 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 name and publisher are found, this method returns an empty list.

-remarks

This method requires administrative privileges.

-examples

-see-also

Package, Enumerate app packages by name and publisher sample, FindPackages, FindPackages(String)

-capabilities

packageQuery