how to get MAC address of any mobile phone via bluetooth connection in c#?

跟風遠走 提交于 2019-12-11 00:27:06

问题


I have to first establish a connection between mobile phone and computer then i have to get a MAC address of that connected phone when i will get a MAC address then i have to simply disconnect the current device and search for the other device.

please help me to solve this problem........... thanks.


回答1:


In the recent Windows Mobile SDKs and DTKs, there's a sample app called btsearch that enumerates all Bluetooth devices that are discoverable and within range. You could always start from there and pick what looks interesting.

I've used it successfully myself without problems. Although it only shows the basics, it's easy to build upon it and extract the good bits.



来源:https://stackoverflow.com/questions/5829346/how-to-get-mac-address-of-any-mobile-phone-via-bluetooth-connection-in-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!