Win10Win32Bluetooth icon indicating copy to clipboard operation
Win10Win32Bluetooth copied to clipboard

Windows 10 Desktop App to view Bluetooth LE advertisements in real time with WinRT APIs.

Using WinRT APIs in a Windows Desktop App

Listening for Bluetooth Advertisements

Setting Up

To use the WinRT APIs, add two references:

  1. C:\Program Files (x86)\Windows Kits\10\UnionMetadata\Windows.winmd

  2. C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETCore\v4.5\System.Runtime.WindowsRuntime.dll

Note: #2 Depends on the framework version you are using!