title: C# Get Chorme's open tabs Urls
body: <p>I am trying to Get All of chrome's open Tabs urls. I am using the following code:</p>
  
  <pre><code> private string GetBrowserURL(string browser)
          {
              try
              {
                  DdeClient dde = new DdeClient(browser, "WWW_GetWindowInfo");
                  dde.Connect();
                  string url = dde.Request("URL", int.MaxValue);
                  string[] text = url.Split(new string[] { "\",\"" }, StringSplitOptions.RemoveEmptyEntries);
                  dde.Disconnect();
                  return text[0].Substring(1);
              }
              catch
              {
                  return null;
              }
          }
  </code></pre>
  
  <p>But keep getting the following error: </p>
  
  <blockquote>
    <p>The client failed to connect to "chrome|WWW_GetWindowInfo"</p>
  </blockquote>
  
  <p>What am I doing wrong?</p>