如何在winform C#中获取蓝牙设备Com串口的详细信息? [英] How to get Details of Bluetooth Device Com serial Port in winform C#?

查看:110
本文介绍了如何在winform C#中获取蓝牙设备Com串口的详细信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何获取我在Windows窗体c#应用程序中配对的蓝牙设备的端口详细信息?手动我可以获得所有端口名称,但我需要分配给特定蓝牙设备的com端口名称。

How do I get the port details of the Bluetooth device that I have paired within my windows form c# application? Manually I can get all port names but I need the com port name that allocated to particular Bluetooth Device.

推荐答案

来自 SerialPort.GetPortNames() [ ^ ],你获取PC上所有可用的COM端口。



如果您需要更多信息,可以通过此链接获得帮助获取串口信息 [ ^ ]
From SerialPort.GetPortNames()[^], you get all available COM ports on the PC.

If you need more info, you might be helped by this link Getting Serial Port Information[^]


这篇关于如何在winform C#中获取蓝牙设备Com串口的详细信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆