Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/colinkiama/uwppackagesgetter
Get all installed apps from your users windows device. (Win32 Programs do not count).
https://github.com/colinkiama/uwppackagesgetter
abstraction abstraction-layer abstractions apps get-installed-apps nuget packages restricted-capabilites universal-windows-platform uwp windows windows-10 windows-runtime windows-runtime-component windows10 winrt
Last synced: 4 months ago
JSON representation
Get all installed apps from your users windows device. (Win32 Programs do not count).
- Host: GitHub
- URL: https://github.com/colinkiama/uwppackagesgetter
- Owner: colinkiama
- License: mit
- Created: 2018-01-21T17:13:45.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-01-05T09:35:58.000Z (about 1 year ago)
- Last Synced: 2024-10-06T13:48:39.316Z (4 months ago)
- Topics: abstraction, abstraction-layer, abstractions, apps, get-installed-apps, nuget, packages, restricted-capabilites, universal-windows-platform, uwp, windows, windows-10, windows-runtime, windows-runtime-component, windows10, winrt
- Language: C#
- Size: 38.1 KB
- Stars: 10
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# UWPPackagesGetter
Windows Runtime Component that gets all installed apps from your users Windows 10 Device. (Win32 Programs are not included).Note: This uses restricted capabilites so only Business accounts can upload apps using this Runtime Component to the Store. However, anyone can still use this if they are sideloading the app.
## Before you start, do this first:
1. Add the `rescap` namespace to the `IgnorableNamespaces` section of your Package.appxmanifest file. So it looks something like this:
``` xml....
```
2. Then in the capabilities tags, add the "packageQuery" and "packageManagement" restricted capabilites:
``` xml
```
Now the classes used will all work without permission exceptions :)## Installation:
Open the Nuget Package Manager console and enter this command:
`Install-Package UWPPackgesGetter.ColinKiama`or... In a a Universal Windows Project, go to Tools > NuGet Package Manager > Manage NuGet Packages for Solution then on the "Browse" section, search for "UWPPackgesGetter.ColinKiama" then, you can install the package for each project you want to use in your current solution.
## How to use:
``` C#
// Quick Example
ObservableCollection MyPackages = new ObservableCollection();
MyPackages = PackageGetter.GetAllPackagesAsync();
```