How to catch a button press on your bluetooth headset?

There is a bluetooth adapter and wireless headphones(Xiaomi Sport). Hooked up without problems. Decided the headphones and microphone.
Currently, there are function button(used for on and off). Short press it to pause and resume work(on the phone). The computer is not working.
So here is the problem:
As I understand it, when you short press on the button to send the headphones to the device signal. So this signal it is necessary to catch(it's a short button press)
How is this implemented in C# under .NET?
June 14th 19 at 20:17

Find more questions by tags .NETBluetoothC#