Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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).

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();
```