I was wondering if there are any API's available for C# to enable communication with a Bluetooth device?
Initially, I would just want to connect the bluetooth device to my compu开发者_StackOverflow社区ter however, my device doesn't have any pairing code so I would have to do it without pairing.
Any existing API or any Win32 dll could be useful to me?
Help Appreciated!
Thanks
There's a bluetooth API as described here, it's for C++, but I'd assume that you'd be able to use it using Pinvoke calls. This website have some code for creating a .Net wrapper for the windows mobile version of the API, but they also seems to have started work on a desktop version here. And either way, there's quite a high chance that some of the functions will have the same signature so you might be able to use the windows mobile code to get you started.
I found out InTheHand API to be useful in this case
精彩评论