> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Objet License (interface ILicense)

> Objet License (interface ILicense) dans l’API ABBYY FineReader Engine — cet objet contient des informations sur la licence actuelle.

Cet objet contient des informations sur la licence actuelle.

<div id="properties">
  ## Propriétés
</div>

<table>
  <thead>
    <tr>
      <th>
        <p>
          <strong>Nom</strong>
        </p>
      </th>

      <th>
        <p>
          <strong>Type</strong>
        </p>
      </th>

      <th>
        <p>
          <strong>Description</strong>
        </p>
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        <p>
          <strong>Application</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/fr/fine-reader/engine/api-reference/engine-object-iengine-interface">
              Engine
            </a>
          </strong>

          ,{" "}

          <a href="/fr/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties#readonly_properties">
            lecture seule
          </a>
        </p>
      </td>

      <td>
        <p>
          Retourne l'objet <strong>Engine</strong>.
        </p>
      </td>
    </tr>

    <tr>
      <td colspan="3">
        <p>
          <em>Numéro de licence</em>
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="customerprojectid" />

          <strong>CustomerProjectId</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/fr/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              BSTR
            </a>
          </strong>

          , lecture seule
        </p>
      </td>

      <td>
        <p>
          Retourne le{" "}

          <a href="/fr/fine-reader/engine/api-reference/functions/initializeengine-function#customerprojectid">
            Customer Project ID
          </a>

          {" "}

          auquel correspond la licence. L'identifiant est commun à toutes les licences
          d'un même projet et sert à initialiser la bibliothèque.
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="serialnumber" />

          <strong>SerialNumber</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/fr/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              BSTR
            </a>
          </strong>

          , lecture seule
        </p>
      </td>

      <td>
        <p>Retourne le numéro de série de la licence.</p>
      </td>
    </tr>

    <tr>
      <td colspan="3">
        <p>
          <em>Paramètres de licence</em>
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="availableenginemodules" />

          <strong>AvailableEngineModules</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/fr/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              int
            </a>
          </strong>

          , lecture seule
        </p>
      </td>

      <td>
        <p>
          Décrit l'ensemble des modules ABBYY FineReader Engine disponibles dans
          la licence sous forme d'une combinaison OR bit à bit des{" "}

          <strong>
            <a href="/fr/fine-reader/engine/api-reference/enumerations/availableenginemodulesflags">
              AEM\_
            </a>
          </strong>

          {" "}

          indicateurs préfixés.
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="availablebarcodemodules" />

          <strong>AvailableBarcodeModules</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/fr/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              int
            </a>
          </strong>

          , lecture seule
        </p>
      </td>

      <td>
        <p>
          Décrit l'ensemble des modules de codes-barres ABBYY FineReader Engine
          disponibles dans la licence sous forme d'une combinaison OR bit à bit des{" "}

          <strong>
            <a href="/fr/fine-reader/engine/api-reference/enumerations/availablebarcodemodulesflags">
              ABM\_
            </a>
          </strong>

          {" "}

          indicateurs préfixés.
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="availableexportformats" />

          <strong>AvailableExportFormats</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/fr/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              int
            </a>
          </strong>

          , lecture seule
        </p>
      </td>

      <td>
        <p>
          Décrit l'ensemble des formats d'export disponibles dans la licence sous forme d'une
          combinaison OR bit à bit des{" "}

          <strong>
            <a href="/fr/fine-reader/engine/api-reference/enumerations/availableexportformatsflags">
              AEF\_
            </a>
          </strong>

          {" "}

          indicateurs préfixés.
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="availablelanguagesets" />

          <strong>AvailableLanguageSets</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/fr/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              int
            </a>
          </strong>

          , lecture seule
        </p>
      </td>

      <td>
        <p>
          Décrit l'ensemble des jeux de langues disponibles dans la licence sous forme d'une
          combinaison OR bit à bit des{" "}

          <strong>
            <a href="/fr/fine-reader/engine/api-reference/enumerations/availablelanguagesetsflags">
              ALS\_
            </a>
          </strong>

          {" "}

          indicateurs préfixés.
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="availabletexttypes" />

          <strong>AvailableTextTypes</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/fr/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              int
            </a>
          </strong>

          , lecture seule
        </p>
      </td>

      <td>
        <p>
          Décrit l'ensemble des types de texte disponibles dans la licence sous forme d'une
          combinaison OR bit à bit des{" "}

          <strong>
            <a href="/fr/fine-reader/engine/api-reference/enumerations/availabletexttypesflags">
              ATT\_
            </a>
          </strong>

          {" "}

          indicateurs préfixés.
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="availablevisualcomponents" />

          <strong>AvailableVisualComponents</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/fr/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              int
            </a>
          </strong>

          , lecture seule
        </p>
      </td>

      <td>
        <Warning>
          Les composants visuels ne sont actuellement pris en charge que sur Windows.
        </Warning>

        <p>
          Décrit l'ensemble des modules de composants visuels ABBYY FineReader Engine
          disponibles dans la licence sous forme d'une combinaison OR bit à bit des{" "}

          <strong>
            <a href="/fr/fine-reader/engine/api-reference/enumerations/availablevisualcomponentsflags">
              AVC\_
            </a>
          </strong>

          {" "}

          flags préfixés.
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="allowedcorescount" />

          <strong>AllowedCoresCount</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/fr/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              int
            </a>
          </strong>

          , lecture seule
        </p>
      </td>

      <td>
        <p>
          Retourne le nombre de cœurs CPU pouvant être utilisés simultanément. Si
          la valeur de cette propriété est 0, le nombre de cœurs CPU est illimité.
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="minimumcorescountperinstance" />

          <strong>MinimumCoresCountPerInstance</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/fr/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              int
            </a>
          </strong>

          , lecture seule
        </p>
      </td>

      <td>
        <p>
          Retourne le nombre minimal de cœurs CPU alloués par ABBYY
          FineReader Engine lors de l'initialisation.
        </p>
      </td>
    </tr>

    <tr>
      <td colspan="3">
        <p>
          <em>Compteurs de volume</em>
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <strong>
            <a href="/fr/fine-reader/engine/api-reference/license-related-objects/license/volume-property">
              Volume
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/fr/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              int
            </a>
          </strong>

          , lecture seule
        </p>
      </td>

      <td>
        <p>
          Retourne le nombre total de pages/caractères pouvant être traités
          au cours d'une période si la licence comporte une telle limitation. Voir également la propriété{" "}
          <strong>VolumeRefreshingPeriod</strong>.
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <strong>
            <a href="/fr/fine-reader/engine/api-reference/license-related-objects/license/volumerefreshingperiod-property">
              VolumeRefreshingPeriod
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/fr/fine-reader/engine/api-reference/enumerations/volumerefreshingperiodenum">
              VolumeRefreshingPeriodEnum
            </a>
          </strong>

          , lecture seule
        </p>
      </td>

      <td>
        <p>
          Retourne des informations sur la période de limitation si la licence restreint
          le nombre de pages/caractères traités au cours de cette période. Voir également
          les propriétés <strong>VolumeRemaining</strong>, <strong>Volume</strong>.
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <strong>
            <a href="/fr/fine-reader/engine/api-reference/license-related-objects/license/volumeremaining-property">
              VolumeRemaining
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/fr/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              int
            </a>
          </strong>

          , lecture seule
        </p>
      </td>

      <td>
        <p>
          Retourne le nombre restant de pages/caractères pouvant être
          traités jusqu'à la fin de la période en cours si la licence comporte une telle
          limitation. Lorsque la valeur de cette propriété atteint 0, les opérations d'analyse, de reconnaissance
          et d'export ne seront plus possibles. Voir également la propriété{" "}
          <strong>VolumeRefreshingPeriod</strong>.
        </p>
      </td>
    </tr>
  </tbody>
</table>

<div id="methods">
  ## Méthodes
</div>

| Nom                                                                                                                      | Description                                                                                                                                                         |
| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [ExpirationDate](/fr/fine-reader/engine/api-reference/license-related-objects/license/expirationdate-method)             | Renvoie un indicateur précisant si la licence est assortie d’une limitation de durée absolue ou relative, ainsi que la date à laquelle elle cessera de fonctionner. |
| [VolumeRefreshingDate](/fr/fine-reader/engine/api-reference/license-related-objects/license/volumerefreshingdate-method) | Renvoie la date de renouvellement des limitations de la licence ABBYY FineReader Engine en nombre de pages traitées.                                                |

<div id="related-objects">
  ## Objets liés
</div>

<img src="https://mintcdn.com/abbyy/lsETHFYUFiongXSm/images/fine-reader/engine/license.gif?s=422eb385d5d9303c3b21d73cd9814aed" alt="License" width="296" height="104" data-path="images/fine-reader/engine/license.gif" />[](/fr/fine-reader/engine/api-reference/engine-object-iengine-interface/supplementary-methods/getavailablelicenses-method)[](/fr/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/element-property)[](/fr/fine-reader/engine/api-reference/engine-object-iengine-interface/properties)[](/fr/fine-reader/engine/api-reference/engine-object-iengine-interface)[](/fr/fine-reader/engine/api-reference/license-related-objects/licenses)

[Diagramme d’objets](/fr/fine-reader/engine/api-reference/object-diagram)

<div id="output-parameter">
  ## Paramètre de sortie
</div>

Cet objet est le paramètre de sortie des méthodes [Item](/fr/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/item-method) et [Find](/fr/fine-reader/engine/api-reference/license-related-objects/licenses/find-method) de l’objet [Licenses](/fr/fine-reader/engine/api-reference/license-related-objects/licenses).

<div id="input-parameter">
  ## Paramètre d’entrée
</div>

Cet objet est le paramètre d’entrée de la méthode [SetCurrentLicense](/fr/fine-reader/engine/api-reference/engine-object-iengine-interface/supplementary-methods/setcurrentlicense-method) de l’objet [Engine](/fr/fine-reader/engine/api-reference/engine-object-iengine-interface).

<div id="samples">
  ## Exemples
</div>

<Accordion title="C# code">
  ```csharp theme={null}
  FREngine.IEngine engine;
  // Nous supposons que l'objet Engine a été initialisé
  // Utilisation des propriétés de la licence
  int allowedCores = Engine.CurrentLicense.AllowedCoresCount;
  if( allowedCores == 0 ) {
   // La licence autorise un nombre illimité de cœurs
  } else {
   // Nombre de cœurs autorisés par la licence : allowedCores
  }
  ```
</Accordion>

L'objet est utilisé dans les exemples de code suivants :

* Linux : [CommandLineInterface](/fr/fine-reader/engine/guided-tour/samples#commandlineinterface)
* Windows : [CommandLineInterface](/fr/fine-reader/engine/guided-tour/samples#commandlineinterface), ainsi que les Demo Tools : [BatchProcessingRecognition](/fr/fine-reader/engine/guided-tour/samples#batchprocessingrecognition), [MultiProcessingRecognition](/fr/fine-reader/engine/guided-tour/samples#multiprocessingrecognition), [PDFExportProfiles](/fr/fine-reader/engine/guided-tour/samples#pdfexportprofiles), [User Pattern Training Utility](/fr/fine-reader/engine/guided-tour/samples#user_pattern_training_utility)

<div id="see-also">
  ## Voir aussi
</div>

[Licenses](/fr/fine-reader/engine/api-reference/license-related-objects/licenses)

[Utilisation des propriétés](/fr/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)

[Méthodes qui augmentent le compteur de licence](/fr/fine-reader/engine/licensing/counter-increasing-methods)
