.. _oemedchem_examples_oemedcheminfo:

Print OEMedChem version information
================================================================================

A utility to print library version information

.. seealso::

   * :oe:func:`OEMedChem::OEMedChemGetRelease` function
   * :oe:func:`OEMedChem::OEMedChemGetVersion` function
   * :oe:func:`OEMedChem::OEMedChemGetArch` function
   * :oe:func:`OEMedChem::OEMedChemGetPlatform` function

Command Line Interface
----------------------

This simple example reports library version information

.. oe:language:: c++

   .. code-block:: console

      prompt> OEMedChemInfo


.. oe:language:: python

   .. code-block:: console

      prompt> OEMedChemInfo.py

.. oe:language:: java

   .. code-block:: console

      prompt> OEMedChemInfo

.. oe:language:: csharp

   .. code-block:: console

      prompt> OEMedChemInfo

Code
----------------------

.. oe:language:: c++

   .. only:: oehtml

      .. admonition:: Download code

         :download:`OEMedChemInfo.cpp <../../../../sublibs/tklibs/medchem/examples/OEMedChemInfo.cpp>`

   .. only:: oepdf

      .. oe:source:: OEMedChemInfo.cpp
         :language: c++

.. oe:language:: python

   .. only:: oehtml

      .. admonition:: Download code

         :download:`OEMedChemInfo.py <../../../../wrappers/python/examples/medchem/OEMedChemInfo.py>`

   ..   literalinclude:: ../../../../wrappers/python/examples/medchem/OEMedChemInfo.py

   .. only:: oepdf

      .. oe:source:: OEMedChemInfo.py
         :language: python

.. oe:language:: java

   .. only:: oehtml

      .. admonition:: Download code

         :download:`OEMedChemInfo.java <../../../../wrappers/java/examples/openeye/examples/oemedchem/OEMedChemInfo.java>`

   .. only:: oepdf

      .. oe:source:: OEMedChemInfo.java
         :language: java

.. oe:language:: csharp

   .. only:: oehtml

      .. admonition:: Download code

         :download:`OEMedChemInfo.cs <../../../../wrappers/csharp/Csharp-Examples/OEMedChem/OEMedChemInfo.cs>`

   .. only:: oepdf

      .. oe:source:: OEMedChemInfo.cs
         :language: csharp

