.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEChemGetVersion

.. oe:function:: OEChemGetVersion

   .. oe:language:: c++ java csharp

      .. oe:api::

         unsigned int OEChemGetVersion()

   .. oe:language:: python

      .. oe:api:: python

         OEChemGetVersion() -> int

   Returns the version number of the library being used.  This is an
   unsigned integer value indicating the date on which the library was
   built, for example ``20020903``, for the 3rd of September 2002.  This
   value should be used when reporting problems, and unlike the release
   string, may be used in comparisons if needed.

.. seealso::

  .. oe:language:: c++

      * Example program :ref:`oecheminfo.cpp<section_example_oechem_oecheminfo>`

  .. oe:language:: python

      * Example program :ref:`oecheminfo.py<section_example_oechem_oecheminfo>`

  .. oe:language:: java

      * Example program :ref:`OEChemInfo.java<section_example_oechem_oecheminfo>`

  .. oe:language:: csharp

      * Example program :ref:`OEChemInfo.cs<section_example_oechem_oecheminfo>`

