title: Download multi files using cefsharp
body: <p>How I download multiple files using cefsharp. </p>
  
  <p>I can download file using this code. But my problem is it only download the first link. How can i make the cefsharp to download multiple files. </p>
  
  <pre><code>foreach (var item in ListofLinks)
                  {
  browser.Load(item);
  }
  
  //on my form load
  
  browser.DownloadHandler = new MyDownloadHandler();
  
      class MyDownloadHandler : IDownloadHandler
              {
                  public event EventHandler&lt;DownloadItem&gt; OnBeforeDownloadFired;
  
                  public event EventHandler&lt;DownloadItem&gt; OnDownloadUpdatedFired;
                  public void OnBeforeDownload(IBrowser browser, DownloadItem downloadItem, IBeforeDownloadCallback callback)
                  {
                      var handler = OnBeforeDownloadFired;
                      if (handler != null)
                      {
                          handler(this, downloadItem);
                      }
  
                      if (!callback.IsDisposed)
                      {
                          using (callback)
                          {
                              callback.Continue(downloadItem.SuggestedFileName, showDialog: true);
                          }
                      }
  
                  }
  
                  public void OnDownloadUpdated(IBrowser browser, DownloadItem downloadItem, IDownloadItemCallback callback)
                  {
  
                      var handler = OnDownloadUpdatedFired;
                      if (handler != null)
                      {
                          handler(this, downloadItem);
                      }
  
                  }
              }
  </code></pre>
  
  <p>i added the <a href="https://github.com/cefsharp/CefSharp/blob/84930b0784fb8d934af22f4f3cd8a089af6eccf1/CefSharp/IBrowserHost.cs" rel="nofollow noreferrer">https://github.com/cefsharp/CefSharp/blob/84930b0784fb8d934af22f4f3cd8a089af6eccf1/CefSharp/IBrowserHost.cs</a></p>
  
  <p>in my project and i </p>
  
  <p>implement interface</p>
  
  <pre><code>class DownloadMe : IBrowserHost{
  
  }
  
  
  public void StartDownload(string url)
              {
                  //what code do i need here?
              }
  </code></pre>