# GrapeCity.Documents.Html.BrowserFetcher

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Html_BrowserFetcher" data-uid="GrapeCity.Documents.Html.BrowserFetcher" class="text-break">BrowserFetcher Class
</h1>
  <div class="markdown level0 summary"><p>Downloads and manages a version of a Chromium-based browser.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">BrowserFetcher</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Html.html">GrapeCity.Documents.Html</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Html.dll</h6>
  <h5 id="GrapeCity_Documents_Html_BrowserFetcher_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class BrowserFetcher</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class BrowserFetcher</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Html_BrowserFetcher__ctor" data-uid="GrapeCity.Documents.Html.BrowserFetcher.#ctor">
          <a class="xref" href="GrapeCity.Documents.Html.BrowserFetcher.-ctor.html#GrapeCity_Documents_Html_BrowserFetcher__ctor">BrowserFetcher()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Html.BrowserFetcher.html">BrowserFetcher</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Html_BrowserFetcher_DefaultRevision" data-uid="GrapeCity.Documents.Html.BrowserFetcher.DefaultRevision">
          <a class="xref" href="GrapeCity.Documents.Html.BrowserFetcher.DefaultRevision.html#GrapeCity_Documents_Html_BrowserFetcher_DefaultRevision">DefaultRevision</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the default revision of Chromium browser to check or download.</p>
<p>The value of this property is a subject to change in the future versions.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_BrowserFetcher_DestinationFolder" data-uid="GrapeCity.Documents.Html.BrowserFetcher.DestinationFolder">
          <a class="xref" href="GrapeCity.Documents.Html.BrowserFetcher.DestinationFolder.html#GrapeCity_Documents_Html_BrowserFetcher_DestinationFolder">DestinationFolder</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the destination folder for the downloads.</p>
<p>
If this property is not set, the downloads are stored to [root]/.local-chromium,
where [root] is where the project binaries are located.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_BrowserFetcher_Platform" data-uid="GrapeCity.Documents.Html.BrowserFetcher.Platform">
          <a class="xref" href="GrapeCity.Documents.Html.BrowserFetcher.Platform.html#GrapeCity_Documents_Html_BrowserFetcher_Platform">Platform</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the browser platform. Defaults to the current platform.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_BrowserFetcher_Revision" data-uid="GrapeCity.Documents.Html.BrowserFetcher.Revision">
          <a class="xref" href="GrapeCity.Documents.Html.BrowserFetcher.Revision.html#GrapeCity_Documents_Html_BrowserFetcher_Revision">Revision</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the specific Chromium revision to check or download.</p>
<p>If this property is not set, the <a class="xref" href="GrapeCity.Documents.Html.BrowserFetcher.DefaultRevision.html#GrapeCity_Documents_Html_BrowserFetcher_DefaultRevision">DefaultRevision</a> is used.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_BrowserFetcher_WebProxy" data-uid="GrapeCity.Documents.Html.BrowserFetcher.WebProxy">
          <a class="xref" href="GrapeCity.Documents.Html.BrowserFetcher.WebProxy.html#GrapeCity_Documents_Html_BrowserFetcher_WebProxy">WebProxy</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the Proxy to be used by the WebClient.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Html_BrowserFetcher_CanDownload" data-uid="GrapeCity.Documents.Html.BrowserFetcher.CanDownload">
          <a class="xref" href="GrapeCity.Documents.Html.BrowserFetcher.CanDownload.html#GrapeCity_Documents_Html_BrowserFetcher_CanDownload">CanDownload()</a>
        </td>
        <td class="markdown level1 summary"><p>Initiates a HEAD request to check if the Chromium browser is available for download.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_BrowserFetcher_GetDownloadUrl" data-uid="GrapeCity.Documents.Html.BrowserFetcher.GetDownloadUrl">
          <a class="xref" href="GrapeCity.Documents.Html.BrowserFetcher.GetDownloadUrl.html#GrapeCity_Documents_Html_BrowserFetcher_GetDownloadUrl">GetDownloadUrl()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the Url for downloading Chromium browser.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_BrowserFetcher_GetDownloadedPath_System_Boolean_" data-uid="GrapeCity.Documents.Html.BrowserFetcher.GetDownloadedPath(System.Boolean)">
          <a class="xref" href="GrapeCity.Documents.Html.BrowserFetcher.GetDownloadedPath.html#GrapeCity_Documents_Html_BrowserFetcher_GetDownloadedPath_System_Boolean_">GetDownloadedPath(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Downloads the browser, if necessary, and returns a path to Chromium executable.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_BrowserFetcher_GetLocalRevisions" data-uid="GrapeCity.Documents.Html.BrowserFetcher.GetLocalRevisions">
          <a class="xref" href="GrapeCity.Documents.Html.BrowserFetcher.GetLocalRevisions.html#GrapeCity_Documents_Html_BrowserFetcher_GetLocalRevisions">GetLocalRevisions()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a list of all revisions for the selected <a class="xref" href="GrapeCity.Documents.Html.BrowserFetcher.Platform.html#GrapeCity_Documents_Html_BrowserFetcher_Platform">Platform</a> available locally on disk.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_BrowserFetcher_GetSystemChromePath" data-uid="GrapeCity.Documents.Html.BrowserFetcher.GetSystemChromePath">
          <a class="xref" href="GrapeCity.Documents.Html.BrowserFetcher.GetSystemChromePath.html#GrapeCity_Documents_Html_BrowserFetcher_GetSystemChromePath">GetSystemChromePath()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the path to the Google Chrome browser executable installed in the operating system.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_BrowserFetcher_GetSystemEdgePath" data-uid="GrapeCity.Documents.Html.BrowserFetcher.GetSystemEdgePath">
          <a class="xref" href="GrapeCity.Documents.Html.BrowserFetcher.GetSystemEdgePath.html#GrapeCity_Documents_Html_BrowserFetcher_GetSystemEdgePath">GetSystemEdgePath()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the path to Microsoft Edge browser executable installed in the operating system.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_BrowserFetcher_RemoveLocalRevision_System_String_" data-uid="GrapeCity.Documents.Html.BrowserFetcher.RemoveLocalRevision(System.String)">
          <a class="xref" href="GrapeCity.Documents.Html.BrowserFetcher.RemoveLocalRevision.html#GrapeCity_Documents_Html_BrowserFetcher_RemoveLocalRevision_System_String_">RemoveLocalRevision(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a downloaded revision for the selected <a class="xref" href="GrapeCity.Documents.Html.BrowserFetcher.Platform.html#GrapeCity_Documents_Html_BrowserFetcher_Platform">Platform</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Html_BrowserFetcher_DownloadProgressChanged" data-uid="GrapeCity.Documents.Html.BrowserFetcher.DownloadProgressChanged">
          <a class="xref" href="GrapeCity.Documents.Html.BrowserFetcher.DownloadProgressChanged.html">DownloadProgressChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when an asynchronous download operation successfully transfers some or all of the data.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
