It can be done with Radio class, like in the code posted in this thread
Capabilities are not needed in a Desktop app
You must :
Add reference to C:\Program Files (x86)\Windows Kits\10\UnionMetadata\Windows.winmd
Add reference to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETCore\v4.5\System.Runtime.WindowsRuntime.dll
and compile as x64 if the OS is x64
(tested on Windows 10 21H1 64-bit)