How can I make a Winforms app that detects nearby BLE devices and reads their characterstics RRS feed

  • Question

  • Hi

    Can anyone please suggest me some code to make a Winforms app that detects nearby BLE devices and reads their characterstics and services.

    Help is much appreciated


    • Moved by CoolDadTx Thursday, May 24, 2018 2:11 PM Winforms related
    Thursday, May 24, 2018 2:30 AM

All replies

  • Hi Shikhar,

    I would suggest you do it using 32Feet.Net.

    You can search for a device by doing:

            BluetoothClient client = new BluetoothClient();
            devices = client.DiscoverDevicesInRange();
            foreach (BluetoothDeviceInfo d in devices)

    More details please refer to the following thread:

    Get name of bluetooth device on the Devices and Printers window

    Also refer: Creating a bluetooth device detector [URGENT HELP]



    Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Friday, May 25, 2018 1:35 AM
  • 32Fee.Net - Bluetooth Low Energy "Bluetooth Low Energy is supported on Windows 8.1 and later, iOS, macOS, tvOS, Android, Tizen and other platforms. Capabilities vary depending on OS and version. 32feet does not currently support Bluetooth LE.".

    I don't know what language you program in to search for relevant information. However it seems most BLE programming is performed using UWP and not Windows.Forms applications. UWP is available on Windows 10.

    La vida loca

    Saturday, May 26, 2018 6:22 PM