# GrapeCity.Documents.Excel.LicenseManager

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Excel_LicenseManager" data-uid="GrapeCity.Documents.Excel.LicenseManager" class="text-break">LicenseManager Class
</h1>
  <div class="markdown level0 summary"><p>A static class used to set license.</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">LicenseManager</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Excel.html">GrapeCity.Documents.Excel</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Excel.dll</h6>
  <h5 id="GrapeCity_Documents_Excel_LicenseManager_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class LicenseManager</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Module LicenseManager</code></pre>
  </div>
  <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_Excel_LicenseManager_SetLicense_System_String_" data-uid="GrapeCity.Documents.Excel.LicenseManager.SetLicense(System.String)">
          <a class="xref" href="GrapeCity.Documents.Excel.LicenseManager.SetLicense.html#GrapeCity_Documents_Excel_LicenseManager_SetLicense_System_String_">SetLicense(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Set the license. This method is obsolete, use <a class="xref" href="GrapeCity.Documents.Excel.Workbook.SetLicenseKey.html#GrapeCity_Documents_Excel_Workbook_SetLicenseKey_System_String_">SetLicenseKey(string)</a> instead.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
