title: How to disable (or reset) a network adapter programmatically in C#
body: <p>I need to disable a network adapter programmatically using C# (.NET 2.0) on Windows XP Embedded.</p>
  
  <p><strong>Background Reason</strong>: After installing a Bluetooth stack on the PC, the Bluetooth PAN adapter blocks the Bluetooth manager program (that runs in the system tray). If I disable the Bluetooth PAN then the Bluetooth manager works fine.</p>
  
  <p>This issue is happening only on Windows XP Embedded machines.</p>