Hi,
I need to scan for bluetooth devices in a c# program.
I dont want to use components that you can buy, but write it my self.
But i cant find a good and working sample on the net.
Can anyone help me out please ?
I am working on a Vista Premium 64bit machine with Visual Studio 2005.
Thanks!
Sheng Jiang[MVP] - 17 Mar 2008 21:27 GMT
Basically bluetooth is an industrial specification, not a component.
If you plan to use the Windows's implementations, take a look at Windows
Bluetooth API
(http://msdn2.microsoft.com/en-us/library/aa362927(VS.85).aspx).
Quote from http://msdn2.microsoft.com/en-us/library/aa362932(VS.85).aspx
Bluetooth is designed for use by C/C++ programmers. Some Bluetooth features
are available with Windows Sockets. Familiarity with Microsoft Windows
networking and Windows Sockets programming is required.
To discuss the Bluetooth API, visit the Windows Vista Wireless SDK Forum or
the Windows XP Wireless SDK Forum.
You may also want to take a look at a discussion on this topic
(http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=267432&SiteID=1)

Signature
Sheng Jiang
Microsoft MVP in VC++
> Hi,
>
[quoted text clipped - 6 lines]
>
> Thanks!
William Stacey [C# MVP] - 18 Mar 2008 04:29 GMT
http://channel9.msdn.com/wiki/default.aspx/Channel9.BluetoothDevelopment
http://msdn2.microsoft.com/en-us/embedded/aa714533.aspx
http://www.dotnetcore.com/Section/Bluetooth/Default.aspx
Last link is shared source MS wrapper for BT on CE and Mobil. Not sure why
it only focus Mobil/CE or if it will work with full .Net stack or not as
have not tried it. But looks like a good start for managed wrappers.
> Hi,
>
[quoted text clipped - 6 lines]
>
> Thanks!