Click here to Skip to main content
15,881,803 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
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.
Posted

1 solution

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[^]
 
Share this answer
 
Comments
swarjadhav 19-Oct-14 10:08am    
I need to knew which port is serial COM and which one is bluetooth serial port. is it possible to do so in c#? because after reviewing all the things I am unable to get what i am looking for.
George Jonsson 19-Oct-14 11:04am    
Did you check the second link?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900