title: Accessing android devices in C#
body: <p>I am using MAD-Bee(Managed ADB) library to access ADB in C#. I am just trying to get list of devices attached to PC. I am getting list of devices properly when I use ADB from command prompt, but I get 0 in my C# form.<br>
  Here's the code I've tried - </p>
  
  <pre><code>    AndroidDebugBridge mADB;
      String mAdbPath;
      IList&lt;Device&gt; mDeviceList = null;
      public Form1()
      {
          InitializeComponent();
          mAdbPath = Environment.GetEnvironmentVariable("ANDROID_ROOT");
          mADB = AndroidDebugBridge.CreateBridge(mAdbPath + "\\platform-tools\\adb.exe", true);
          mADB.Start();
  
          var list = mADB.Devices;
          Console.WriteLine(""+list.Count);
      }
  </code></pre>
  
  <p>The problem is MAD-bee doesn't have any proper documentation or guide on how to start with it. Any help in this?</p>