You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I upgrade the InTheHand.Net.Bluetooth package from 4.1.40 to 4.1.43.
After that the line :
bdi.SetServiceState(BluetoothService.SerialPort, true);
is giving an error
Error CS1061 'BluetoothDeviceInfo' does not contain a definition for 'SetServiceState' and no accessible extension method 'SetServiceState' accepting a first argument of type 'BluetoothDeviceInfo' could be found (are you missing a using directive or an assembly reference?)
downgrading to 4.1.40 solves the issue.
Is there something changd or broke ?
Regards,
MarFan
The text was updated successfully, but these errors were encountered:
With the recent refactoring work the SetServiceState method only exists in the win32 dll of the library because it's the only platform which supports it. What are you trying to use it for? Because there is probably an easier solution.
Hi,
I upgrade the InTheHand.Net.Bluetooth package from 4.1.40 to 4.1.43.
After that the line :
bdi.SetServiceState(BluetoothService.SerialPort, true);
is giving an error
Error CS1061 'BluetoothDeviceInfo' does not contain a definition for 'SetServiceState' and no accessible extension method 'SetServiceState' accepting a first argument of type 'BluetoothDeviceInfo' could be found (are you missing a using directive or an assembly reference?)
downgrading to 4.1.40 solves the issue.
Is there something changd or broke ?
Regards,
MarFan
The text was updated successfully, but these errors were encountered: