Reuse BluetoothClient instance after calling Close()

Topics: Bluetooth - BlueSoliel, Bluetooth - Microsoft
Sep 14, 2013 at 10:19 PM
Hi,

If I call Close() or Dispose() on my BluetoothClient instance, can I still use the instance?

I want to disconnect from an earlier connection to a serial port on a scanner and do not know if I need to create a new instance.
Developer
Sep 15, 2013 at 1:50 PM
I didn't really consider that scenario when programming the various BluetoothClient classes (for MSFT, Widcomm, etc etc). So I'd recommend using a new instance of BluetoothClient each time. (It might be ok for each but I'm not sure).