title: How to "unpair", "remove" Bluetooth device in Windows with C# .NET
body: <p>I faced a problem. I need to unpair, or remove bluetooth device from windows.
  Here, I have my phone Redmi paired</p>
  
  <p><a href="https://i.stack.imgur.com/Q1Wct.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Q1Wct.png" alt="enter image description here"></a></p>
  
  <p>And I need to unpair it, so basically I want to achieve the same effect as pressing "Remove device" button</p>
  
  <p>I tried this, but it didn't work for me, since this solution disconnects bluetooth device, but it still stays paired: <a href="https://stackoverflow.com/questions/14829164/how-to-disconnect-a-bluetooth-device-from-c-sharp-net-in-win7">How to disconnect a bluetooth device from C# .Net in Win7</a></p>
  
  <p>I am using C# WPF and InTheHand library for pairing, but it does not have unpair functionality</p>
  
  <p>How do I achieve my goal? Thank</p>