[Last Call] Learn how to a build a cloud-first strategyRegister Now


C# (Compact Framework on Pocket PC 2003): Detect if BlueTooth hardware is present in device.

Posted on 2006-05-10
Medium Priority
Last Modified: 2012-08-13
Good day everyone,

I have a need to identify whether or not a Pocket PC 2003 device has BlueTooth hardware installed. I would like to do so in C# rather than eVC++ as my application is written in C#. I've compared devices w/ and w/o BlueTooth and did not find differences in the registry which is not to say they are not there and I simply overlooked them, although I was pretty detailed.

If you can tell me a simple way to detect whether or not a device features BlueTooth hardware, the points are yours. I'm giving 500 pts as the matter is urgent to me.

Thank you very much for your help in advance!
Question by:BigMacD86

Expert Comment

ID: 16654065
Bluetooth functionality is more controllable — The BthGetMode and BthSetMode functions, declared in bthutil.h, provide the ability to query the current state of the Bluetooth control panel, as well as modify its state (Bluetooth Power Off, Connectable, Discoverable and so on.)

Here's a .Net library you could probably use; again, this is for microsoft bluetooth stack only.


Author Comment

ID: 16658229

Thanks very much for your quick reply. I think I figured out how I can do it. I am already using the OpenNETCF; however, it is an older version that does not include the properties and methods that I want to use, so I'll have to look into either a new assembly or simply ripping out source of the CF and compile it into my app.


Accepted Solution

GranMod earned 0 total points
ID: 16869010
PAQed with points refunded (500)

Community Support Moderator

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question