There is also a C++ library for Windows at https://github.com/espruino/winnus/blob/master/cpp/winnus.cpp that handles the UART connection over BLE. It is meant for Node.js but it'd be trivial to use in in your application, however I believe it uses an old API (which needs the device to be paired?) and Windows 10/11 have a better one (so the one @fanoush suggested is probably better).
But otherwise once you find a BLE library for the programming language you're wanting to use it's pretty straightforward if you look at what the examples in https://www.espruino.com/Interfacing#bluetooth-le do.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
There's an example of using a webpage with Web Bluetooth to get like HRM data from the Bangle, so that could help: https://www.espruino.com/Bangle.js+Data+Streaming#bonus-2-heart-rate-monitoring-graph
As a hack you may even be able to use AJAX/etc requests from a webpage like that to push the data to your app.
There are some BLE examples for Node.js and Python at https://www.espruino.com/Interfacing#bluetooth-le
There is also a C++ library for Windows at https://github.com/espruino/winnus/blob/master/cpp/winnus.cpp that handles the UART connection over BLE. It is meant for Node.js but it'd be trivial to use in in your application, however I believe it uses an old API (which needs the device to be paired?) and Windows 10/11 have a better one (so the one @fanoush suggested is probably better).
But otherwise once you find a BLE library for the programming language you're wanting to use it's pretty straightforward if you look at what the examples in https://www.espruino.com/Interfacing#bluetooth-le do.
If you google for the language you want and "Nordic UART" you might even find an app/library that handles the comms for you. For example for me top hit for C# is: https://github.com/lzhengwei/UWP_Nordic_Uart_Transmitter
It looks like a bit of a mess but I think the relevant code you need is https://github.com/lzhengwei/UWP_Nordic_Uart_Transmitter/blob/master/BLE_uart_connector/App1/MainPage.xaml.cs#L97-L108