Removing devices from device manager

Topics: Bluetooth - Microsoft
Dec 5, 2013 at 7:53 AM
Hello there !

I'm using your wonderful librairy to connect to a lot of MMI devices in Bluetooth and it appears to have some problem with the virtual port in device manager. When a lot have been connected, I guess the virtual port list is full and I'm forced to remove manually all the previous connected devices from the device manager's list. So what I'd like to do is to remove each device automatically from the list after using it in my source code.

How could I do it ?? Is the function BluetoothSecurity.RemoveDevice(myDevice.DeviceAddress) enough ??

To connect to devices, I use :
  • x as new BluetoothClient()
  • x.DiscoverDevices()
  • x.BeginConnect()
To disconnect :
  • x.close()
Thanks a lot !!
Dec 5, 2013 at 2:19 PM
Problem solved ! That's the removedevice() function.

Discussion can be closed.